mirror of https://gitee.com/openkylin/cups.git
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. Patch-Name: tests-ignore-usb-crash.patch Gbp-Pq: Name 0006-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch
This commit is contained in:
parent
ca17faca57
commit
477eb1992e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue