diff options
author | Didier Raboud <odyx@debian.org> | 2016-08-09 18:11:10 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2019-05-17 12:49:56 +0200 |
commit | 0aa30d9091ff7b672fb9b6745c67aec14f0a2e54 (patch) | |
tree | 54fe810f305a931048d3ccbef227347f554ad92e | |
parent | 17053cbaa8da0e7fb8e1cbcb0b8a201081f7fccb (diff) |
Tests: ignore usb & dnssd backend unexpected exits
Ignore the following errors:
"[cups-deviced] PID * (usb) crashed on signal 11!" and
"[cups-deviced] PID * (dnssd) stopped with status 1"
They seem to regularly happen on Debian/Ubuntu buildds and break error lines
counting.
Last-Update: 2015-02-10
Patch-Name: tests-ignore-usb-crash.patch
Gbp-Pq: Name tests-ignore-usb-crash.patch
-rwxr-xr-x | test/run-stp-tests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh index a60158156..8bde425d6 100755 --- a/test/run-stp-tests.sh +++ b/test/run-stp-tests.sh @@ -1025,7 +1025,10 @@ else fi # Error log messages -count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup' | wc -l | awk '{print $1}'` +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' | \ + wc -l | awk '{print $1}'` if test $count != 33; then echo "FAIL: $count error messages, expected 33." $GREP '^E ' $BASE/log/error_log |