diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-11 22:39:39 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-12 00:02:41 -0400 |
commit | eff58875099266722612637dc80578c194f7c1cc (patch) | |
tree | f4d1ed4d58d0d23b03356034fd7ef54b82945964 | |
parent | 2816bcc63c61256c1c710a85c1c227519a3e67a2 (diff) |
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-x | check | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |