summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-11 22:39:39 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2022-09-30 00:23:00 -0400
commitd00a48b2fca493438da0de304f2cf3536c0ba574 (patch)
treecd7764a0d48e5e67da96256c07f1b6064341c20e
parenta42b0890e2719c899187f8c53713772ff4f01be8 (diff)
downloadxfstests-d00a48b2fca493438da0de304f2cf3536c0ba574.tar.zst
Dump seqres.full on test failure
In ktest, we try to keep all essential information on test failure in a single log file - dumping seqres.full to stdout will end up in that log file. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rwxr-xr-xcheck6
1 files changed, 6 insertions, 0 deletions
diff --git a/check b/check
index 25057be6..94256dcb 100755
--- a/check
+++ b/check
@@ -998,6 +998,12 @@ function run_section()
fi; } | sed -e 's/^\(.\)/ \1/'
tc_status="fail"
fi
+
+ if [ "$tc_status" == "fail" ]; then
+ echo "$seqres.full:"
+ cat $seqres.full
+ fi
+
if [ -f $seqres.hints ]; then
if [ "$tc_status" == "fail" ]; then
echo