Commit 642e20db authored by Michał Kępień's avatar Michał Kępień

Use echoinfo for printing test summary

This ensures is consistent with other scripts belonging
to the test framework.
parent 28068857
......@@ -41,13 +41,13 @@ if [ $keepfile -eq 0 ]; then
echo "I:System test result summary:"
grep 'R:[a-z0-9_-][a-z0-9_-]*:[A-Z][A-Z]*' systests.output | cut -d':' -f3 | sort | uniq -c | sed -e 's/^/I:/'
echoinfo "I:System test result summary:"
echoinfo "`grep 'R:[a-z0-9_-][a-z0-9_-]*:[A-Z][A-Z]*' systests.output | cut -d':' -f3 | sort | uniq -c | sed -e 's/^/I:/'`"
FAILED_TESTS=`grep 'R:[a-z0-9_-][a-z0-9_-]*:FAIL' systests.output | cut -d':' -f2 | sort | sed -e 's/^/I: /'`
if [ -n "${FAILED_TESTS}" ]; then
echo "I:The following system tests failed:"
echo "${FAILED_TESTS}"
echoinfo "I:The following system tests failed:"
echoinfo "${FAILED_TESTS}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment