summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-11 22:39:39 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-07-12 00:02:41 -0400
commiteff58875099266722612637dc80578c194f7c1cc (patch)
treef4d1ed4d58d0d23b03356034fd7ef54b82945964
parent2816bcc63c61256c1c710a85c1c227519a3e67a2 (diff)
Dump seqres.full on test failureHEADmaster
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 34cf060d..1d2b4dcf 100755
--- a/check
+++ b/check
@@ -924,6 +924,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