mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
a70fb7335c
This test has the number of files/dirs created by xfsrestore hardcoded in golden output. When fsstress is added new ops, the number of files/dirs created with the same random seed changes and this regularly breaks this test, so when new fsstress ops are added they should be either added to the dump test blacklist or golden output of this test needs to be ammended to reflect the change. The golden output includes only the file count reported by xfsrestore and test does not even verify that this is the correct file count. Instead, leave the golden output neutral and explicitly verify that file count before and after the test are the same. With this change, the test becomes agnostic to fsstress ops and we could also stop blacklisting clone/dedup/copy ops if we want. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
QA output created by 068
|
|
Creating directory system to dump using fsstress.
|
|
|
|
-----------------------------------------------
|
|
fsstress : -f link=10 -f creat=10 -f mkdir=10 -f truncate=5 -f symlink=10
|
|
-----------------------------------------------
|
|
xfsdump|xfsrestore ...
|
|
xfsdump -s DUMP_SUBDIR - SCRATCH_MNT | xfsrestore - RESTORE_DIR
|
|
xfsrestore: using file dump (drive_simple) strategy
|
|
xfsrestore: searching media for dump
|
|
xfsrestore: examining media file 0
|
|
xfsrestore: dump description:
|
|
xfsrestore: hostname: HOSTNAME
|
|
xfsrestore: mount point: SCRATCH_MNT
|
|
xfsrestore: volume: SCRATCH_DEV
|
|
xfsrestore: session time: TIME
|
|
xfsrestore: level: 0
|
|
xfsrestore: session label: ""
|
|
xfsrestore: media label: ""
|
|
xfsrestore: file system ID: ID
|
|
xfsrestore: session id: ID
|
|
xfsrestore: media ID: ID
|
|
xfsrestore: searching media for directory dump
|
|
xfsrestore: reading directories
|
|
xfsrestore: NUM directories and NUM entries processed
|
|
xfsrestore: directory post-processing
|
|
xfsrestore: restoring non-directory files
|
|
xfsrestore: restore complete: SECS seconds elapsed
|
|
xfsrestore: Restore Status: SUCCESS
|
|
xfsdump: using file dump (drive_simple) strategy
|
|
xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT
|
|
xfsdump: dump date: DATE
|
|
xfsdump: session id: ID
|
|
xfsdump: session label: ""
|
|
xfsdump: ino map <PHASES>
|
|
xfsdump: ino map construction complete
|
|
xfsdump: estimated dump size: NUM bytes
|
|
xfsdump: /var/xfsdump/inventory created
|
|
xfsdump: creating dump session media file 0 (media 0, file 0)
|
|
xfsdump: dumping ino map
|
|
xfsdump: dumping directories
|
|
xfsdump: dumping non-directory files
|
|
xfsdump: ending media file
|
|
xfsdump: media file size NUM bytes
|
|
xfsdump: dump size (non-dir files) : NUM bytes
|
|
xfsdump: dump complete: SECS seconds elapsed
|
|
xfsdump: Dump Status: SUCCESS
|