The sanity test case in those tests (i.e. 13..17)
are all skipped in fs with no falloc support, but the tests
are reported to pass.
For example, from 445.full:
File system supports the default behavior.
File system does not support fallocate.
Allocation size: 4096
17. Test file with unwritten extents, data-hole-data inside page
Test skipped as fs doesn't support unwritten extents.
Explicitly check for falloc support before running those tests
so they would be properly reported as skipped.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
_require_test
_require_seek_data_hole
+# All the seek sanity test cases here do falloc
+_require_xfs_io_command "falloc"
BASE_TEST_FILE=$TEST_DIR/seek_sanity_testfile
_require_test
_require_seek_data_hole
+# All the seek sanity test cases here do falloc
+_require_xfs_io_command "falloc"
BASE_TEST_FILE=$TEST_DIR/seek_sanity_testfile
433 auto quick copy
434 auto quick copy
435 auto encrypt
-436 auto quick rw seek
+436 auto quick rw seek prealloc
437 auto quick dax
438 auto
439 auto quick punch
442 blockdev
443 auto quick rw
444 auto quick acl
-445 auto quick rw seek
+445 auto quick rw seek prealloc
446 auto quick rw punch
447 auto clone
448 auto quick rw seek