]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/361: require that file system uses a real block device
authorTheodore Ts'o <tytso@mit.edu>
Fri, 23 Sep 2016 20:05:20 +0000 (16:05 -0400)
committerEryu Guan <eguan@redhat.com>
Mon, 26 Sep 2016 02:18:08 +0000 (10:18 +0800)
commit09b981f6ac2b871934587974445f29b51e7e1f5e
treee0d4ff5d61b57d266bb3bb37c4168fdd53c39377
parentdc913dcfcb989454185ccf579b2e7c8c52636499
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>
tests/generic/361