mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-05 17:14:59 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue