mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
verify that servers started successfully, so that the
individual tests don't need to
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
# Start name servers for running system tests.
|
# Start name servers for running system tests.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
. ./conf.sh
|
. ./conf.sh
|
||||||
cd $1
|
cd $1
|
||||||
|
|
||||||
@@ -46,3 +45,19 @@ do
|
|||||||
)
|
)
|
||||||
done
|
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
|
||||||
|
Reference in New Issue
Block a user