xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH xfstests] generic/300: Add missing requirements for fallocate & punch hole
From: Jan Kara <jack@xxxxxxx>
Date: Tue, 4 Mar 2014 21:37:17 +0100
Cc: Jan Kara <jack@xxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH xfstests] generic/300: Add missing requirements for fallocate & punch hole, Jan Kara <=