mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/{436,445}: check falloc support
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>
This commit is contained in:
committed by
Eryu Guan
parent
65cc9a2359
commit
87a53d2e7c
@@ -24,6 +24,8 @@ _supported_os Linux
|
||||
|
||||
_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
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@ _supported_os Linux
|
||||
|
||||
_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
|
||||
|
||||
|
||||
+2
-2
@@ -438,7 +438,7 @@
|
||||
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
|
||||
@@ -447,7 +447,7 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user