diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-09-23 16:05:20 -0400 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2016-09-26 10:18:08 +0800 |
commit | 09b981f6ac2b871934587974445f29b51e7e1f5e (patch) | |
tree | e0d4ff5d61b57d266bb3bb37c4168fdd53c39377 | |
parent | dc913dcfcb989454185ccf579b2e7c8c52636499 (diff) | |
download | xfstests-dev-09b981f6ac2b871934587974445f29b51e7e1f5e.tar.gz |
generic/361: require that file system uses a real block device
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>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-x | tests/generic/361 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic/361 b/tests/generic/361 index ad047c665b..c09863c331 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 |