From 2b20812ce7a5602260a238482c2adf7ea5eabedf 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 ee77923c37..293d0f86f4 100644 --- a/bin/tests/system/auth/tests.sh +++ b/bin/tests/system/auth/tests.sh @@ -179,7 +179,7 @@ status=$(expr $status + $ret) n=$(expr $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