From: Tony Finch Date: Thu, 14 Apr 2022 09:48:24 +0000 (+0100) Subject: Use wait_for_log_re in the autosign system test X-Git-Tag: v9.19.1~65^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4c29093534c41a51262f89b8ca2dc6bd36021b9;p=thirdparty%2Fbind9.git Use wait_for_log_re in the autosign system test Fix another occurrence of the mistake of passing a regex to wait_for_log by using the new wait_for_log_re instead. --- diff --git a/bin/tests/system/autosign/tests.sh b/bin/tests/system/autosign/tests.sh index 3c7334ab3d1..1c5f8ee3d7f 100755 --- a/bin/tests/system/autosign/tests.sh +++ b/bin/tests/system/autosign/tests.sh @@ -1263,7 +1263,7 @@ $SETTIME -K ns3 -A now+3s $ksk > settime.out.test$n.ksk || ret=1 ($RNDCCMD 10.53.0.3 loadkeys delay.example. 2>&1 | sed 's/^/ns2 /' | cat_i) || ret=1 echo_i "waiting for changes to take effect" sleep 3 -wait_for_log 10 "add delay\.example\..*NSEC.a\.delay\.example\. NS SOA RRSIG NSEC DNSKEY" ns3/named.run +wait_for_log_re 10 "add delay\.example\..*NSEC.a\.delay\.example\. NS SOA RRSIG NSEC DNSKEY" ns3/named.run check_is_signed() { $DIG $DIGOPTS +noall +answer dnskey delay.example. @10.53.0.3 > dig.out.ns3.1.test$n || return 1 # DNSKEY expected: