Merge branch 'pspacek/cookie-test-no-developer-fixup' into 'main'

Fix cookie system test for builds without --enable-developer

See merge request isc-projects/bind9!6904
This commit is contained in:
Petr Špaček
2022-10-18 12:22:34 +00:00

View File

@@ -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`