From: Tom Krizek Date: Fri, 5 Jan 2024 14:04:17 +0000 (+0100) Subject: Handle dig timing out gracefully in auth X-Git-Tag: v9.19.22~94^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddb41798d5227f65ae007b036a1341cc825118d1;p=thirdparty%2Fbind9.git Handle dig timing out gracefully in auth --- diff --git a/bin/tests/system/auth/tests.sh b/bin/tests/system/auth/tests.sh index a1f5c735ae6..2499b469508 100644 --- a/bin/tests/system/auth/tests.sh +++ b/bin/tests/system/auth/tests.sh @@ -180,7 +180,7 @@ status=$((status + ret)) n=$((n + 1)) echo_i "check that CHAOS addresses are compared correctly ($n)" ret=0 -$DIG $DIGOPTS @10.53.0.1 +noall +answer ch test.example.chaos >dig.out.test$n +$DIG $DIGOPTS @10.53.0.1 +noall +answer ch test.example.chaos >dig.out.test$n || ret=1 lines=$(wc -l