From: Michał Kępień Date: Tue, 27 Feb 2018 08:46:22 +0000 (+0100) Subject: Use echoinfo for printing test summary X-Git-Tag: v9.13.0~128^2~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=642e20db8a083cb9ce0e736d217b63fae599b7f0;p=thirdparty%2Fbind9.git Use echoinfo for printing test summary This ensures testsummary.sh is consistent with other scripts belonging to the test framework. --- diff --git a/bin/tests/system/testsummary.sh b/bin/tests/system/testsummary.sh index 2a328daa522..9d6c2f39391 100644 --- a/bin/tests/system/testsummary.sh +++ b/bin/tests/system/testsummary.sh @@ -41,13 +41,13 @@ if [ $keepfile -eq 0 ]; then fi status=0 -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}" status=1 fi