[PATCH xfstests] generic/300: Add missing requirements for fallocate & punch hole

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

 



Test 300 requires support for fallocate and punch hole from the
filesystem. Add proper require checks.

Signed-off-by: Jan Kara <jack@xxxxxxx>
---
 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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux