summaryrefslogtreecommitdiff
path: root/debian/patches/tests-ignore-kfreebsd-amd64-not-a-pdf.patch
blob: f209804af62437563b4f29cc7a51fef1acdae601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Ignore the 'loadFile failed: temp file: not a PDF file'
 error that sometimes breaks the errorlines counting on kfreebsd-amd64
 for some reason
Origin: vendor
Author: Didier Raboud <odyx@debian.org>
Last-Update: 2014-01-14
--- 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' | 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' | 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