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 <[email protected]>
---
 tests/generic/079 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/079 b/tests/generic/079
index 939c817..041d9c0 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.5.0

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to