REGTEST: Add some informatoin to test results.
When the reg tests fail, it may be useful to display additional information coming from varnishtest, especially when this latter aborts. In such case, the test output may be made of lines prefixed by "* diag" string.
This commit is contained in:
parent
839791af0d
commit
f9a48ef791
@ -454,7 +454,7 @@ if [ -d "${TESTDIR}" ]; then
|
|||||||
cat <<- EOF | tee -a "$TESTDIR/failedtests.log"
|
cat <<- EOF | tee -a "$TESTDIR/failedtests.log"
|
||||||
$(echo "###### $(cat "$i/INFO") ######")
|
$(echo "###### $(cat "$i/INFO") ######")
|
||||||
$(echo "## test results in: \"$i\"")
|
$(echo "## test results in: \"$i\"")
|
||||||
$(grep -- ^---- "$i/LOG")
|
$(grep -E -- "^(----|\* diag)" "$i/LOG")
|
||||||
EOF
|
EOF
|
||||||
done' sh {} +
|
done' sh {} +
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user