From: Mark Andrews Date: Thu, 19 Aug 2021 06:43:56 +0000 (+1000) Subject: wait for each staged to complete X-Git-Tag: v9.17.18~29^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e189840b1c9f4f506d76ebf0d6dffe580de12de;p=thirdparty%2Fbind9.git wait for each staged to complete --- diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh index d25aec63a31..5d260e24ac6 100644 --- a/bin/tests/system/rndc/tests.sh +++ b/bin/tests/system/rndc/tests.sh @@ -776,12 +776,18 @@ 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 +wait_for_log 3 "zone_postload: zone test/IN/internal: done" ns7/named.run + echo_i "rndc reload" $RNDCCMD 10.53.0.7 reload | sed 's/^/ns7 /' | cat_i +wait_for_log 3 "all zones loaded" ns7/named.run + n=$((n+1)) echo_i "checking zone file edits are loaded ($n)" ret=0