From: Eryu Guan <eguan@redhat.com>
To: fstests@vger.kernel.org
Cc: Eryu Guan <eguan@redhat.com>
Subject: [PATCH 4/4] generic/079: _notrun if fs doesn't support ioctl
Date: Fri, 11 Dec 2015 16:35:07 +0800 [thread overview]
Message-ID: <1449822907-31197-5-git-send-email-eguan@redhat.com> (raw)
In-Reply-To: <1449822907-31197-1-git-send-email-eguan@redhat.com>
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 <eguan@redhat.com>
---
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
prev parent reply other threads:[~2015-12-11 8:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 8:35 [PATCH 0/4] fstests: rudimentary overlayfs testing support, take two Eryu Guan
2015-12-11 8:35 ` [PATCH 1/4] fstests: use mount/umount helpers everywhere Eryu Guan
2015-12-11 8:35 ` [PATCH 2/4] fstests: rudimentary overlayfs testing support Eryu Guan
2015-12-11 8:35 ` [PATCH 3/4] generic/062: don't create WHITEOUT_DEV Eryu Guan
2015-12-11 8:35 ` Eryu Guan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449822907-31197-5-git-send-email-eguan@redhat.com \
--to=eguan@redhat.com \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox