mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: skip tests that rely on allocation behaviors of the data device
A large number of xfs-specific tests rely on specific behaviors of the data device allocator, such as fragmenting free space, carefully curated inode and free space counts, or features like filestreams that only exist on the data device. These tests fail horribly if the test runner specified rtinherit=1 on the mkfs command line, so skip them all. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
69a4ba7303
commit
8c4d2b38fc
@@ -33,6 +33,7 @@ _supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
_require_scratch
|
||||
_require_no_rtinherit
|
||||
|
||||
_check_filestreams_support || _notrun "filestreams not available"
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ _supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
_require_scratch
|
||||
_require_no_rtinherit
|
||||
|
||||
_check_filestreams_support || _notrun "filestreams not available"
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ _supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
_require_scratch
|
||||
_require_no_rtinherit
|
||||
|
||||
_check_filestreams_support || _notrun "filestreams not available"
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ _supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
_require_scratch
|
||||
_require_no_rtinherit
|
||||
|
||||
_check_filestreams_support || _notrun "filestreams not available"
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ _supported_os Linux
|
||||
|
||||
# single AG will cause xfs_repair to fail checks.
|
||||
_require_scratch_nocheck
|
||||
_require_no_rtinherit
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ _supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
_require_scratch_nocheck # check complains about single AG fs
|
||||
_require_no_rtinherit
|
||||
_require_xfs_io_command "fpunch"
|
||||
_require_command $UUIDGEN_PROG uuidgen
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ _supported_fs xfs
|
||||
_require_scratch
|
||||
_require_error_injection
|
||||
_require_xfs_io_error_injection "rmap_finish_one"
|
||||
_require_no_rtinherit
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ _require_scratch
|
||||
_require_test_program "punch-alternating"
|
||||
_require_xfs_io_command "falloc"
|
||||
_require_xfs_db_write_array
|
||||
_require_no_rtinherit
|
||||
|
||||
# This is only a v5 filesystem problem
|
||||
_require_scratch_xfs_crc
|
||||
|
||||
Reference in New Issue
Block a user