mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-23 05:53:09 +00:00
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"
|
||||
$(echo "###### $(cat "$i/INFO") ######")
|
||||
$(echo "## test results in: \"$i\"")
|
||||
$(grep -- ^---- "$i/LOG")
|
||||
$(grep -E -- "^(----|\* diag)" "$i/LOG")
|
||||
EOF
|
||||
done' sh {} +
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user