blob: 87838798438d531842804d6690455024e88b9dac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Description: Ignore the 'Failed to connect to system bus' error that sometimes
breaks the errorlines counting on various architectures
Origin: vendor
Author: Didier Raboud <odyx@debian.org>
Last-Update: 2014-07-30
--- a/test/run-stp-tests.sh
+++ b/test/run-stp-tests.sh
@@ -897,7 +897,7 @@
fi
# Error log messages
-count=`$GREP '^E ' /tmp/cups-$user/log/error_log | $GREP -v '(usb) crashed on signal 11' | $GREP -v '(dnssd) stopped with status 1' | $GREP -v 'loadFile failed: temp file: not a PDF file' | wc -l | awk '{print $1}'`
+count=`$GREP '^E ' /tmp/cups-$user/log/error_log | $GREP -v '(usb) crashed on signal 11' | $GREP -v '(dnssd) stopped with status 1' | $GREP -v 'loadFile failed: temp file: not a PDF file' | $GREP -v 'Failed to connect to system bus' | wc -l | awk '{print $1}'`
if test $count != 33; then
echo "FAIL: $count error messages, expected 33."
$GREP '^E ' /tmp/cups-$user/log/error_log
|