diff options
author | Didier Raboud <odyx@debian.org> | 2020-11-24 08:48:16 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2020-11-24 08:48:16 +0100 |
commit | 223d8fd855fbbfffa8e45d959844e010b91ad044 (patch) | |
tree | 4f01f0001f42cb69928d25ffc5a344cf0d569113 /debian/patches/0008-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch | |
parent | e09664a63d30ea94510a3f2ed25b25fbcbdc0ca8 (diff) |
Commit patch queue (exported by git-debrebase)
[git-debrebase make-patches: export and commit patches]
Diffstat (limited to 'debian/patches/0008-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch')
-rw-r--r-- | debian/patches/0008-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/0008-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch b/debian/patches/0008-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch new file mode 100644 index 000000000..21d84e708 --- /dev/null +++ b/debian/patches/0008-Tests-ignore-usb-dnssd-backend-unexpected-exits.patch @@ -0,0 +1,31 @@ +From: Didier Raboud <odyx@debian.org> +Date: Tue, 9 Aug 2016 18:11:10 +0200 +Subject: 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 +--- + test/run-stp-tests.sh | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh +index a601581..8bde425 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 |