From c84e34dbbc96e0ad6a5dc748e9e2d495235ec3df Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Fri, 5 Jan 2024 15:04:17 +0100 Subject: [PATCH] Handle dig timing out gracefully in auth (cherry picked from commit ddb41798d5227f65ae007b036a1341cc825118d1) --- bin/tests/system/auth/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/auth/tests.sh b/bin/tests/system/auth/tests.sh index a1f5c735ae..2499b46950 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