diff options
author | Leah Rumancik <leah.rumancik@gmail.com> | 2023-04-21 10:51:32 -0700 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-04-24 02:48:02 +0800 |
commit | 4a444bc19a836fecb4a2f1fbec98fe717af5e99c (patch) | |
tree | 5b227d619155dcb681fb96789b7b8899e9ae1f2a /check | |
parent | c7d81cdecbefd5768163a195e8d5257279216a34 (diff) |
check: _check_filesystems for errors even if test failed
Previously, we would only run _check_filesystems to ensure that a test
that appeared to pass did not have any filesystem corruption. However,
in _check_filesystems, we also repair any errors found in the filesystem.
Let's do this even if we already know the test failed so that subsequent
tests aren't affected.
Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'check')
-rwxr-xr-x | check | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -972,6 +972,7 @@ function run_section() # Even though we failed, there may be something interesting in # dmesg which can help debugging. _check_dmesg + (_adjust_oom_score 250; _check_filesystems) tc_status="fail" else # The test apparently passed, so check for corruption |