From: Hans Holmberg Date: Tue, 10 Oct 2017 13:31:16 +0000 (+0200) Subject: xfs/246: add _require_scratch X-Git-Tag: v2022.05.01~1830 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d565ff1d5a729b0b9f120f5d5864fc57a6ef54b5;p=xfstests-dev.git 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 Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/246 b/tests/xfs/246 index bf471ccd..61d25459 100755 --- a/tests/xfs/246 +++ b/tests/xfs/246 @@ -43,6 +43,7 @@ _cleanup() _supported_os Linux _supported_fs xfs _require_xfs_io_command "bmap" "-c" +_require_scratch rm -f $seqres.full