[PATCH] xfs/246: add _require_scratch

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Hans Holmberg <hans.holmberg@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
---
 tests/xfs/246 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/xfs/246 b/tests/xfs/246
index bf471cc..61d2545 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
 
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux