summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2016-08-09 18:30:48 +0200
committerDidier Raboud <odyx@debian.org>2019-09-02 09:14:43 +0200
commiteedf374c333ba1c8788bd9ce5a437313a4fb1255 (patch)
treef1d7e0bf4a666b832669bbd454dd6ce67659f625
parentd3e08134ad8ffc1263208e0501530c6cc663f21f (diff)
Tests: ignore loadFile failures
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 Last-Update: 2015-02-10 Patch-Name: tests-ignore-kfreebsd-amd64-not-a-pdf.patch Gbp-Pq: Name tests-ignore-kfreebsd-amd64-not-a-pdf.patch
-rwxr-xr-xtest/run-stp-tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh
index 8bde425d6..f5a98dd64 100755
--- a/test/run-stp-tests.sh
+++ b/test/run-stp-tests.sh
@@ -1028,6 +1028,8 @@ fi
count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup' | \
$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."