2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

verify that servers started successfully, so that the

individual tests don't need to
This commit is contained in:
Andreas Gustafsson
2000-06-02 20:44:21 +00:00
parent 9f732d73da
commit 1de8cd761e

View File

@@ -19,7 +19,6 @@
# Start name servers for running system tests.
#
. ./conf.sh
cd $1
@@ -46,3 +45,19 @@ do
)
done
# Make sure all of the servers are up.
status=0
for d in ns*
do
n=`echo $d | sed 's/ns//'`
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
version.bind. chaos txt @10.53.0.$n soa > dig.out
status=`expr $status + $?`
grep ";" dig.out
done
rm -f dig.out
exit $status