2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 15:05:23 +00:00

nsupdate now finishes by sending a final newline, so don't echo another one

This commit is contained in:
David Lawrence
2000-07-09 16:27:30 +00:00
parent e60f5a146d
commit fdebae8397

View File

@@ -15,7 +15,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE. # SOFTWARE.
# $Id: tests.sh,v 1.3 2000/07/08 16:37:18 tale Exp $ # $Id: tests.sh,v 1.4 2000/07/09 16:27:30 tale Exp $
# #
# Perform tests # Perform tests
@@ -41,11 +41,9 @@ $PERL ../digcomp.pl knowngood.ns1.before dig.out.ns1 || status=1
$PERL ../digcomp.pl knowngood.ns1.before dig.out.ns2 || status=1 $PERL ../digcomp.pl knowngood.ns1.before dig.out.ns2 || status=1
echo "I:updating zone" echo "I:updating zone"
# nsupdate will print ">" characters to stderr as it works, but not send # nsupdate will print a ">" prompt to stdout as it gets each input line.
# a final newline.
$NSUPDATE < update.scp > /dev/null $NSUPDATE < update.scp > /dev/null
# Send the final nsupdate newline. echo "I:sleeping 15 seconds for server to incorporate changes"
echo
sleep 15 sleep 15
echo "I:fetching first copy of zone after update" echo "I:fetching first copy of zone after update"