From: Eryu Guan Date: Mon, 21 Dec 2015 07:07:50 +0000 (+1100) Subject: generic/079: _notrun if fs doesn't support ioctl X-Git-Tag: v2022.05.01~2705 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6a855067a09f5aeb6480024b74683653bcb750b0;p=users%2Fhch%2Fxfstests-dev.git generic/079: _notrun if fs doesn't support ioctl Overlayfs directory inode doesn't support ioctl and reports "Inappropriate ioctl", so grep for this error message and _notrun if the message is found. Signed-off-by: Eryu Guan Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/generic/079 b/tests/generic/079 index 939c817ff..041d9c0e9 100755 --- a/tests/generic/079 +++ b/tests/generic/079 @@ -59,7 +59,7 @@ _scratch_mount || _fail "mount failed" echo "*** starting up" $timmutable -c $SCRATCH_MNT/$seq >$tmp.out 2>&1 -if grep -q 'Operation not supported' $tmp.out; then +if grep -q -e 'Operation not supported' -e "Inappropriate ioctl" $tmp.out; then rm -f $tmp.out _notrun "Setting immutable/append flag not supported" fi