mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/realtime: Add require_no_realtime function
Some tests do not play well with realtime devices, in an effort to produce a stable set of test which exercise the realtime code paths we introduce a _require_no_realtime function to allow tests to opt out of realtime subvolume test runs. And to make tests generic/409-411 work well with rt device, teach _get_mount now honors $SCRATCH_OPTIONS. Signed-off-by: Richard Wareing <rwareing@fb.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
7ae94a0462
commit
e3c3d46978
@@ -50,6 +50,8 @@ _cleanup()
|
||||
|
||||
_supported_fs xfs
|
||||
_supported_os Linux
|
||||
# xfs_copy does not support realtime devices
|
||||
_require_no_realtime
|
||||
_require_scratch
|
||||
_require_xfs_crc
|
||||
_require_meta_uuid
|
||||
|
||||
@@ -236,6 +236,7 @@ _putback_scratch_fstab()
|
||||
_supported_fs xfs
|
||||
_supported_os Linux
|
||||
|
||||
_require_no_realtime
|
||||
_require_scratch
|
||||
_require_noattr2
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ rm -f $seqres.full
|
||||
# real QA test starts here
|
||||
_supported_fs xfs
|
||||
_supported_os Linux
|
||||
# xfs_copy does not support realtime devices
|
||||
_require_no_realtime
|
||||
_require_test
|
||||
_require_scratch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user