diff options
Diffstat (limited to 'debian/patches/0011-Tests-ignore-the-failure-to-write-uncompressed-data.patch')
-rw-r--r-- | debian/patches/0011-Tests-ignore-the-failure-to-write-uncompressed-data.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0011-Tests-ignore-the-failure-to-write-uncompressed-data.patch b/debian/patches/0011-Tests-ignore-the-failure-to-write-uncompressed-data.patch new file mode 100644 index 000000000..708c28dcf --- /dev/null +++ b/debian/patches/0011-Tests-ignore-the-failure-to-write-uncompressed-data.patch @@ -0,0 +1,24 @@ +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 +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." |