diff mbox series

xfs/450: require working falloc command

Message ID 20190219183238.GI6477@magnolia (mailing list archive)
State Accepted
Headers show
Series xfs/450: require working falloc command | expand

Commit Message

Darrick J. Wong Feb. 19, 2019, 6:32 p.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

This test needs to check for working falloc command before using it.

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

Comments

Christoph Hellwig Feb. 20, 2019, 2:14 p.m. UTC | #1
On Tue, Feb 19, 2019 at 10:32:38AM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> This test needs to check for working falloc command before using it.

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

diff --git a/tests/xfs/450 b/tests/xfs/450
index 15b73877..615aded7 100755
--- a/tests/xfs/450
+++ b/tests/xfs/450
@@ -32,6 +32,7 @@  rm -f $seqres.full
 # real QA test starts here
 _supported_os Linux
 _supported_fs xfs
+_require_xfs_io_command "falloc"
 _require_test_program "punch-alternating"
 _require_xfs_scratch_rmapbt