diff options
author | Martin Pitt <mpitt@debian.org> | 2016-08-09 18:11:09 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2019-09-02 09:14:43 +0200 |
commit | 08d1c23132143b7ac6708fa42b789687da4f3019 (patch) | |
tree | 5b51553477b890afeda680528bba5cc17f3516f0 | |
parent | 24dcd271201b557989053c739a604aaa8c7cd08e (diff) |
Tests: Ignore warnings from colord and Avahi
These warnings change the expected number of warnings
Last-Update: 2015-08-05
Patch-Name: tests-ignore-warnings.patch
Gbp-Pq: Name tests-ignore-warnings.patch
-rwxr-xr-x | test/run-stp-tests.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh index 2f9630f52..a60158156 100755 --- a/test/run-stp-tests.sh +++ b/test/run-stp-tests.sh @@ -1040,7 +1040,11 @@ else fi # Warning log messages -count=`$GREP '^W ' $BASE/log/error_log | $GREP -v CreateProfile | wc -l | awk '{print $1}'` +count=`$GREP '^W ' $BASE/log/error_log | $GREP -v CreateProfile | \ + $GREP -v 'Unable to initialize USB access via libusb, libusb error' | \ + $GREP -v 'org.freedesktop.ColorManager' | \ + $GREP -v -E 'Avahi client failed: -(1|26)' | \ + wc -l | awk '{print $1}'` if test $count != 8; then echo "FAIL: $count warning messages, expected 8." $GREP '^W ' $BASE/log/error_log |