mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: Allow user to keep $seqres.dmesg for all tests
Currently fstests will remove $seqres.dmesg if nothing wrong happened. It saves some space, but sometimes it may not provide good enough history for developers to check. For example, some unexpected dmesg from fs, but not serious enough to be caught by current filter. So instead of deleting the ordinary $seqres.dmesg, provide a new config: KEEP_DMESG, to allow user to keep the dmesg by setting it to "yes". The default value for it is "no", which keeps the existing behavior by deleting ordinary dmesg. [Eryu: change it to a "yes"/"no" switch.] Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -101,6 +101,7 @@ Preparing system for tests:
|
||||
using nvme drives.
|
||||
- set USE_KMEMLEAK=yes to scan for memory leaks in the kernel
|
||||
after every test, if the kernel supports kmemleak.
|
||||
- set KEEP_DMESG=yes to keep dmesg log after test
|
||||
|
||||
- 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