]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: _check_filesystems for errors even if test failed
authorLeah Rumancik <leah.rumancik@gmail.com>
Fri, 21 Apr 2023 17:51:32 +0000 (10:51 -0700)
committerZorro Lang <zlang@kernel.org>
Sun, 23 Apr 2023 18:48:02 +0000 (02:48 +0800)
commit4a444bc19a836fecb4a2f1fbec98fe717af5e99c
tree5b227d619155dcb681fb96789b7b8899e9ae1f2a
parentc7d81cdecbefd5768163a195e8d5257279216a34
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>
check