xfs/246: add _require_scratch
authorHans Holmberg <hans.holmberg@cnexlabs.com>
Tue, 10 Oct 2017 13:31:16 +0000 (15:31 +0200)
committerEryu Guan <eguan@redhat.com>
Tue, 10 Oct 2017 13:38:14 +0000 (21:38 +0800)
The test uses a scratch device, so add _require_scratch so
the test will be skipped instead of failing when $SCRATCH_DEV
has not been specified.

Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/246

index bf471ccd46e8747a601ffd502967031baaa293f3..61d25459e14181922dbf8a3b4a4700c0b4befa46 100755 (executable)
@@ -43,6 +43,7 @@ _cleanup()
 _supported_os Linux
 _supported_fs xfs
 _require_xfs_io_command "bmap" "-c"
+_require_scratch
 
 rm -f $seqres.full