From 6a855067a09f5aeb6480024b74683653bcb750b0 Mon Sep 17 00:00:00 2001 From: Eryu Guan Date: Mon, 21 Dec 2015 18:07:50 +1100 Subject: [PATCH] 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 --- tests/generic/079 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/079 b/tests/generic/079 index 939c817f..041d9c0e 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 -- 2.30.2