xfs/246: add _require_scratch

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>
This commit is contained in:
Hans Holmberg
2017-10-10 15:31:16 +02:00
committed by Eryu Guan
parent ca5b89eb90
commit d565ff1d5a
+1
View File
@@ -43,6 +43,7 @@ _cleanup()
_supported_os Linux
_supported_fs xfs
_require_xfs_io_command "bmap" "-c"
_require_scratch
rm -f $seqres.full