From: "Theodore Ts'o" <tytso@mit.edu>
To: fstests@vger.kernel.org
Cc: Theodore Ts'o <tytso@mit.edu>
Subject: [PATCH] generic/361: require that file system uses a real block device
Date: Fri, 23 Sep 2016 16:05:20 -0400 [thread overview]
Message-ID: <20160923200520.29602-1-tytso@mit.edu> (raw)
This test tries to use _mkfs_dev to format a loop device and then
tries to mount it. For file systems that don't use block devices
(nfs, tmpfs, etc.) this is doomed to failure. So skip this test if
$SCRATCH_DEV is not a block device.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
tests/generic/361 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/generic/361 b/tests/generic/361
index ad047c6..c09863c 100755
--- a/tests/generic/361
+++ b/tests/generic/361
@@ -52,6 +52,7 @@ rm -f $seqres.full
_supported_fs generic
_supported_os Linux
_require_scratch
+_require_block_device $SCRATCH_DEV
# create a small filesystem to hold another filesystem image
_scratch_mkfs_sized $((512 * 1024 * 1024)) >>$seqres.full 2>&1
--
2.9.0.243.g5c589a7.dirty
reply other threads:[~2016-09-23 20:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20160923200520.29602-1-tytso@mit.edu \
--to=tytso@mit.edu \
--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