zfs_test: Skip dotdot in volume root test.

Given special semantics of ZFS it's far from clear what the expected
result is. Just skip it for now
This commit is contained in:
Vladimir Serbinenko 2015-07-24 01:17:04 +02:00
parent 900fca88ac
commit 333855c646

View file

@ -1149,10 +1149,9 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
case x"$fs" in case x"$fs" in
x"zfs"*) x"zfs"*)
LSROUT=$(run_grubfstest ls -- -la "($GRUBDEVICE)/grub fs@/..");; ;;
*) *)
LSROUT=$(run_grubfstest ls -- -la "($GRUBDEVICE)/..");; LSROUT=$(run_grubfstest ls -- -la "($GRUBDEVICE)/..");
esac
if echo "$LSROUT" | grep -F " $BASEFILE" | grep "$BLOCKCNT" > /dev/null; then if echo "$LSROUT" | grep -F " $BASEFILE" | grep "$BLOCKCNT" > /dev/null; then
: :
else else
@ -1161,6 +1160,8 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
TZ=UTC ls --time-style=+%Y%m%d%H%M%S.%N -l "$MNTPOINTRO" TZ=UTC ls --time-style=+%Y%m%d%H%M%S.%N -l "$MNTPOINTRO"
exit 1 exit 1
fi fi
;;
esac
case x"$fs" in case x"$fs" in
x"zfs"*) x"zfs"*)