REGTEST: script: Print only errors in the results report

This commit is contained in:
Christopher Faulet 2018-12-19 11:28:49 +01:00
parent fa6798f97c
commit 6bd82cdbe6

View File

@ -464,7 +464,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 -- ^---- "$i/LOG")
EOF EOF
done' sh {} + done' sh {} +
fi fi