mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
populate: support compressing metadumps
If the test runner passed in a DUMP_COMPRESSOR program, make it so that the metadumps we generate are also compressed. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
committed by
Eryu Guan
parent
45b9734b98
commit
b7860b30ce
@@ -111,6 +111,11 @@ Preparing system for tests:
|
||||
the module is the same as FSTYP.
|
||||
- Set DUMP_CORRUPT_FS=1 to record metadata dumps of XFS
|
||||
filesystems if a filesystem check fails.
|
||||
- Set DUMP_COMPRESSOR to a compression program to compress
|
||||
metadumps of filesystems. This program must accept '-f' and the
|
||||
name of a file to compress; and it must accept '-d -f -k' and
|
||||
the name of a file to decompress. In other words, it must
|
||||
emulate gzip.
|
||||
|
||||
- or add a case to the switch in common/config assigning
|
||||
these variables based on the hostname of your test
|
||||
|
||||
Reference in New Issue
Block a user