xfs/450: require working falloc command
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 19 Feb 2019 18:32:38 +0000 (10:32 -0800)
committerEryu Guan <guaneryu@gmail.com>
Thu, 21 Feb 2019 01:48:17 +0000 (09:48 +0800)
This test needs to check for working falloc command before using it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/450

index 15b73877bfe86d544603322c65edcbc6268129ca..615aded7170d1c41dbb8dcdc6d54d57ba77f9b93 100755 (executable)
@@ -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