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

Gbp-Pq: Name 0009-Tests-ignore-the-failure-to-write-uncompressed-data.patch
This commit is contained in:
Didier Raboud 2016-08-09 18:36:02 +02:00 committed by openKylinBot
parent 94932f3085
commit 78365163b2
1 changed files with 1 additions and 0 deletions

View File

@ -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 'loadFile failed: temp file: not a PDF file' | \
$GREP -v 'Failed to connect to system bus' | \ $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 -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}'` wc -l | awk '{print $1}'`
if test $count != 33; then if test $count != 33; then
echo "FAIL: $count error messages, expected 33." echo "FAIL: $count error messages, expected 33."