]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: capture dmesg of mount failures if test fails
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Apr 2026 19:15:43 +0000 (12:15 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 1 May 2026 15:42:41 +0000 (23:42 +0800)
commit832a6d9ac226e017b41b052b89bfa2f66ac8c039
tree9332ce123d79a85b2fc09a3d9591b6a37c880535
parent078f3204e049c8ffcf7819bab9afd419267d0084
check: capture dmesg of mount failures if test fails

Capture the kernel output after a mount failure occurs.  If the test
itself fails, then keep the logging output for further diagnosis.  The
xunit.xsd update adds a <mount-failure> element to the xml output, whose
output is the mountfail file.

Note that because the .mountfail file is preserved by ./check, the new
selftest requires the user to check for the .mountfail file.  This is a
little awkward.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
check
common/rc
common/report
doc/xunit.xsd
tests/selftest/008 [new file with mode: 0755]
tests/selftest/008.out [new file with mode: 0644]