bind9/bin
Tony Finch 19cf15313c Avoid timeouts in the notify system test
There were two problems in the notify system test when it waited for
log messages to appear: the shellcheck refactoring introduced a call
to `wait_for_log` with a regex, but `wait_for_log` only supports fixed
strings, so it always ran for the full 45 second timeout; and the new
test to ensure that notify messages time out failed to reset the
nextpart pointer, so if the notify messages timed out before the test
ran, it would fail to see them.

This change adds a `wait_for_log_re` helper that matches a regex, and
uses it where appropriate in the notify system test, which stops the
test from waiting longer than necessary; and it resets the nextpart
pointer so that the notify timeout test works reliably.

Closes #3275

(cherry picked from commit 4a30733ae5)
2022-04-20 17:51:40 +01:00
..
check Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:42:18 +01:00
confgen Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:42:18 +01:00
delv Remove UNREACHABLE() statements after exit() 2022-03-25 10:07:25 +01:00
dig ensure dig sets exitcode after local UDP connection failure 2022-04-15 11:08:46 -07:00
dnssec Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
named Implement catalog zones change of ownership (coo) support 2022-04-14 20:53:31 +00:00
nsupdate Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
plugins Hyperlink program names to their manual pages 2022-03-14 11:01:31 +01:00
rndc Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:42:18 +01:00
tests Avoid timeouts in the notify system test 2022-04-20 17:51:40 +01:00
tools Ensure that dns_request_createvia() has a retry limit 2022-04-06 18:17:55 +01:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00