[PATCH 01/24] xfs/331: don't run this test if fallocate isn't supported

Darrick J. Wong
2020-09-15T01:43:16Z

From: Darrick J. Wong <darrick.wong@oracle.com>

This test requires fallocate, so make sure that actually works before
running it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
tests/xfs/331 | 1 +
1 file changed, 1 insertion(+)

diff --git a/tests/xfs/331 b/tests/xfs/331
index b26ea155..501dd1f8 100755
--- a/tests/xfs/331
+++ b/tests/xfs/331
@@ -32,6 +32,7 @@ _supported_fs xfs
_require_scratch
_require_xfs_scratch_rmapbt
_require_scratch_reflink
+_require_xfs_io_command "falloc"
_require_test_program "punch-alternating"

rm -f "$seqres.full"