From d565ff1d5a729b0b9f120f5d5864fc57a6ef54b5 Mon Sep 17 00:00:00 2001 From: Hans Holmberg Date: Tue, 10 Oct 2017 15:31:16 +0200 Subject: [PATCH] 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 --- tests/xfs/246 | 1 + 1 file changed, 1 insertion(+) 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