From: msweet Date: Wed, 5 Aug 2015 14:22:02 +0000 (+0000) Subject: Fix "make check" warning counts (STR #4684) X-Git-Tag: v2.2b1~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea99768e294139edadf8b57c24cf1497085b6325;p=thirdparty%2Fcups.git Fix "make check" warning counts (STR #4684) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12829 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh index 246f0ea285..ac883ed7f5 100755 --- a/test/run-stp-tests.sh +++ b/test/run-stp-tests.sh @@ -997,9 +997,9 @@ fi # Warning log messages count=`$GREP '^W ' $BASE/log/error_log | $GREP -v CreateProfile | wc -l | awk '{print $1}'` if test $count != 8; then - echo "FAIL: $count warning messages, expected 18." + echo "FAIL: $count warning messages, expected 8." $GREP '^W ' $BASE/log/error_log - echo "

FAIL: $count warning messages, expected 18.

" >>$strfile + echo "

FAIL: $count warning messages, expected 8.

" >>$strfile echo "
" >>$strfile
 	$GREP '^W ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
 	echo "
" >>$strfile