]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/252: requires fallocate support for preallocation
authorChristoph Hellwig <hch@lst.de>
Tue, 5 Feb 2019 18:48:16 +0000 (19:48 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 10 Feb 2019 09:30:55 +0000 (17:30 +0800)
xfs/252 has a few feature tests, but misses checking for preallocation
support.  Because of that it will fail instead of not being run for
and XFS file system in always COW mode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/252

index df795b81df6571d21684920e5aac7cd923d1dc3c..86666a684cb9fee7c04324f7301dba47312d709a 100755 (executable)
@@ -31,6 +31,7 @@ _supported_fs xfs
 _supported_os Linux
 
 _require_test
+_require_xfs_io_command "falloc"
 _require_xfs_io_command "fpunch"
 _require_xfs_io_command "fiemap"