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:
parent
900fca88ac
commit
333855c646
1 changed files with 11 additions and 10 deletions
|
@ -1149,18 +1149,19 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
|
|||
|
||||
case x"$fs" in
|
||||
x"zfs"*)
|
||||
LSROUT=$(run_grubfstest ls -- -la "($GRUBDEVICE)/grub fs@/..");;
|
||||
;;
|
||||
*)
|
||||
LSROUT=$(run_grubfstest ls -- -la "($GRUBDEVICE)/..");;
|
||||
LSROUT=$(run_grubfstest ls -- -la "($GRUBDEVICE)/..");
|
||||
if echo "$LSROUT" | grep -F " $BASEFILE" | grep "$BLOCKCNT" > /dev/null; then
|
||||
:
|
||||
else
|
||||
echo DOTDOT IN ROOTDIR FAIL
|
||||
echo "$LSROUT"
|
||||
TZ=UTC ls --time-style=+%Y%m%d%H%M%S.%N -l "$MNTPOINTRO"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if echo "$LSROUT" | grep -F " $BASEFILE" | grep "$BLOCKCNT" > /dev/null; then
|
||||
:
|
||||
else
|
||||
echo DOTDOT IN ROOTDIR FAIL
|
||||
echo "$LSROUT"
|
||||
TZ=UTC ls --time-style=+%Y%m%d%H%M%S.%N -l "$MNTPOINTRO"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case x"$fs" in
|
||||
x"zfs"*)
|
||||
|
|
Loading…
Reference in a new issue