2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

wait for post 'rndc freeze' writes to complete

This commit is contained in:
Mark Andrews 2021-08-25 13:01:17 +10:00
parent 9a4a1bbe9b
commit 45b6b8199e

View File

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