[PATCH xfstests] generic/300: Add missing requirements for fallocate & punch hole
Jan Kara
jack at suse.cz
Tue Mar 4 14:37:17 CST 2014
Test 300 requires support for fallocate and punch hole from the
filesystem. Add proper require checks.
Signed-off-by: Jan Kara <jack at suse.cz>
---
tests/generic/300 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/generic/300 b/tests/generic/300
index 7c6072815b40..8b80c14c6f4e 100755
--- a/tests/generic/300
+++ b/tests/generic/300
@@ -43,6 +43,8 @@ _supported_fs generic
_supported_os Linux
_need_to_be_root
_require_scratch
+_require_xfs_io_falloc
+_require_xfs_io_falloc_punch
NUM_JOBS=$((4*LOAD_FACTOR))
BLK_DEV_SIZE=`blockdev --getsz $SCRATCH_DEV`
--
1.8.1.4
More information about the xfs
mailing list