]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/009: require fiemap
authorHugh Dickins <hughd@google.com>
Thu, 18 Feb 2016 23:46:27 +0000 (10:46 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:46:27 +0000 (10:46 +1100)
Require xfs_io commands fiemap and falloc as well as fzero: fzero
without falloc is unlikely, but tmpfs may later support fzero, though
probably never fiemap (and in v3.15 wrongly claimed to support fzero).

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/009

index 7fbec3443e3cb696fe03620a6617078a56b85def..5902afd323a0228c6896022e6ea1021769a6e6ac 100755 (executable)
@@ -45,6 +45,8 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
 # real QA test starts here
 _supported_os Linux
 _require_xfs_io_command "fzero"
+_require_xfs_io_command "fiemap"
+_require_xfs_io_command "falloc"
 _require_test
 
 testfile=$TEST_DIR/009.$$