summaryrefslogtreecommitdiff
path: root/debian/patches/tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch')
-rw-r--r--debian/patches/tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch b/debian/patches/tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch
new file mode 100644
index 000000000..e6280a925
--- /dev/null
+++ b/debian/patches/tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch
@@ -0,0 +1,26 @@
+From: Didier Raboud <odyx@debian.org>
+Date: Tue, 9 Aug 2016 18:36:02 +0200
+Subject: Tests: ignore the failure to write uncompressed data
+
+Ignore the 'Unable to write uncompressed print data: Broken pipe' error that
+sometimes breaks the errorlines counting on kfreebsd for some reason.
+Origin: vendor
+Last-Update: 2016-08-09
+
+Patch-Name: tests-ignore-kfreebsd-unable-to-write-uncompressed-print-data.patch
+---
+ test/run-stp-tests.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh
+index f3a4321..c072ad8 100755
+--- a/test/run-stp-tests.sh
++++ b/test/run-stp-tests.sh
+@@ -1031,6 +1031,7 @@ count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup'
+ $GREP -v 'loadFile failed: temp file: not a PDF file' | \
+ $GREP -v 'Failed to connect to system bus' | \
+ $GREP -v -E 'Unable to open listen socket for address .* Address family not supported by protocol.' | \
++ $GREP -v 'Unable to write uncompressed print data: Broken pipe' | \
+ wc -l | awk '{print $1}'`
+ if test $count != 33; then
+ echo "FAIL: $count error messages, expected 33."