From: Petr Špaček Date: Thu, 13 Oct 2022 15:38:23 +0000 (+0200) Subject: Fix cookie system test for builds without --enable-developer X-Git-Tag: v9.19.7~50^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e7bed1ab05058b9214a6f22651b6c6ce218029;p=thirdparty%2Fbind9.git Fix cookie system test for builds without --enable-developer The "connecting via TCP" message comes from FCTXTRACE which is not available on some builds. --- diff --git a/bin/tests/system/cookie/tests.sh b/bin/tests/system/cookie/tests.sh index fc8e4225b7b..72bd193aa52 100755 --- a/bin/tests/system/cookie/tests.sh +++ b/bin/tests/system/cookie/tests.sh @@ -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`