From: Mark Andrews Date: Wed, 25 Aug 2021 03:01:17 +0000 (+1000) Subject: wait for post 'rndc freeze' writes to complete X-Git-Tag: v9.17.18~19^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45b6b8199e6fccd7573f552d7e01a33c1da46a33;p=thirdparty%2Fbind9.git wait for post 'rndc freeze' writes to complete --- diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh index 5d260e24ac6..df3ef3afc79 100644 --- a/bin/tests/system/rndc/tests.sh +++ b/bin/tests/system/rndc/tests.sh @@ -769,15 +769,17 @@ grep 'addition 1' dig.out.1.test$n >/dev/null || ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=$((status+ret)) +nextpart ns7/named.run > /dev/null + echo_i "rndc freeze" $RNDCCMD 10.53.0.7 freeze | sed 's/^/ns7 /' | cat_i | cat_i +wait_for_log 3 "dump_done: zone test/IN/internal: enter" ns7/named.run + echo_i "edit zone files" cp ns7/test.db.in ns7/test.db cp ns7/include2.db.in ns7/include.db -nextpart ns7/named.run > /dev/null - echo_i "rndc thaw" $RNDCCMD 10.53.0.7 thaw | sed 's/^/ns7 /' | cat_i