Tests: ignore errors triggered on ipv6-deprived hosts

Ignore the 'Address family not supported by protocol' error that breaks the
errorlines counting on buildds without a working IPv6 stack.
Origin: vendor
Patch-Name: tests-ignore-ipv6-address-family-not-supported.patch

Gbp-Pq: Name 0008-Tests-ignore-errors-triggered-on-ipv6-deprived-hosts.patch
This commit is contained in:
Didier Raboud 2016-08-09 18:33:56 +02:00 committed by openKylinBot
parent cad6b49833
commit 94932f3085
1 changed files with 1 additions and 0 deletions

View File

@ -1030,6 +1030,7 @@ count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup'
$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' | \
$GREP -v -E 'Unable to open listen socket for address .* Address family not supported by protocol.' | \
wc -l | awk '{print $1}'`
if test $count != 33; then
echo "FAIL: $count error messages, expected 33."