]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
run-stp-tests.sh: Update number of warning
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 11 Nov 2021 12:09:43 +0000 (13:09 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Thu, 11 Nov 2021 12:09:43 +0000 (13:09 +0100)
Needed due issue #286.

test/run-stp-tests.sh

index 5037c81e1a0aba44df486454d2b10834406a213e..fb988ba37db57da65492d013fea18a7543894729 100755 (executable)
@@ -1134,10 +1134,10 @@ fi
 
 # Warning log messages
 count=`$GREP '^W ' $BASE/log/error_log | $GREP -v CreateProfile | $GREP -v 'libusb error' | $GREP -v ColorManager | $GREP -v 'Avahi client failed' | wc -l | awk '{print $1}'`
-if test $count != 12; then
-       echo "FAIL: $count warning messages, expected 12."
+if test $count != 14; then
+       echo "FAIL: $count warning messages, expected 14."
        $GREP '^W ' $BASE/log/error_log
-       echo "    <p>FAIL: $count warning messages, expected 12.</p>" >>$strfile
+       echo "    <p>FAIL: $count warning messages, expected 14.</p>" >>$strfile
        echo "    <pre>" >>$strfile
        $GREP '^W ' $BASE/log/error_log | sed -e '1,$s/&/&amp;/g' -e '1,$s/</&lt;/g' >>$strfile
        echo "    </pre>" >>$strfile