mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 11:33:51 +02: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:
committed by
Christopher Faulet
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
|
||||
|
||||
Reference in New Issue
Block a user