]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4061. [bug] Handle timeout in legacy system test. [RT #38573]
authorMark Andrews <marka@isc.org>
Wed, 11 Feb 2015 05:53:39 +0000 (16:53 +1100)
committerMark Andrews <marka@isc.org>
Wed, 11 Feb 2015 05:53:39 +0000 (16:53 +1100)
CHANGES
bin/tests/system/legacy/tests.sh

diff --git a/CHANGES b/CHANGES
index 771b0229fcaa2617e910af4e5ecfe81537718851..c853e5af0b57d5c392998f11066ad809055a27ca 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+4061.  [bug]           Handle timeout in legacy system test. [RT #38573]
+
 4060.  [bug]           dns_rdata_freestruct could be call on a uninitialised
                        structure when handling a error. [RT #38568]
 
index 1e26edf19ac0695c5abd66a7fd4414dd92444118..92a830db1bfe156c38f4e7038aabb63d4a2f46b3 100755 (executable)
@@ -159,7 +159,8 @@ then
     echo "I:checking recursive lookup to edns 512 + no tcp + trust anchor fails ($n)"
     ret=0
     $DIG +tcp  @10.53.0.1 -p 5300 edns512-notcp soa > dig.out.test$n || ret=1
-    grep "status: SERVFAIL" dig.out.test$n > /dev/null || ret=1
+    grep "status: SERVFAIL" dig.out.test$n > /dev/null ||
+        grep "connection timed out;" dig.out.test$n > /dev/null || ret=1
     if [ $ret != 0 ]; then echo "I:failed"; fi
     status=`expr $status + $ret`
 else