]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix cookie system test for builds without --enable-developer
authorPetr Špaček <pspacek@isc.org>
Thu, 13 Oct 2022 15:38:23 +0000 (17:38 +0200)
committerPetr Špaček <pspacek@isc.org>
Tue, 18 Oct 2022 11:54:45 +0000 (13:54 +0200)
The "connecting via TCP" message comes from FCTXTRACE which is not
available on some builds.

bin/tests/system/cookie/tests.sh

index fc8e4225b7be02259bf64e59ece72cda95c90f9b..72bd193aa5282c1aff4bec270b0502236798ef47 100755 (executable)
@@ -221,7 +221,7 @@ nextpart ns8/named.run > /dev/null
 $DIG $DIGOPTS +cookie soa from-no-cookie-server.example @10.53.0.8 > dig.out.test$n
 grep "status: NOERROR" dig.out.test$n > /dev/null || ret=1
 wait_for_log_peek 3 "missing required cookie from 10.53.0.7#" ns8/named.run || ret=1
-wait_for_log_peek 3 "from-no-cookie-server.example/SOA): connecting via TCP" ns8/named.run || ret=1
+wait_for_log_peek 3 "TCP connected" ns8/named.run || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`