mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 18:52:07 -04:00
no need to verify that servers are up as start.sh now
takes care of that; no need to remove dig output before test
This commit is contained in:
parent
029f5aa861
commit
bffe4c151c
1 changed files with 1 additions and 26 deletions
|
|
@ -23,32 +23,7 @@ echo "A:A test to determine online functionality of dnssec tools"
|
|||
# Perform tests
|
||||
#
|
||||
|
||||
if [ -f dig.out.ns2 ]; then
|
||||
rm -f dig.out.ns2
|
||||
fi
|
||||
if [ -f dig.out.ns3 ]; then
|
||||
rm -f dig.out.ns3
|
||||
fi
|
||||
if [ -f dig.out.ns4 ]; then
|
||||
rm -f dig.out.ns4
|
||||
fi
|
||||
|
||||
# Make sure all of the servers are up
|
||||
status=0;
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd . \
|
||||
@10.53.0.2 soa > dig.out.ns2
|
||||
status=`expr $status + $?`
|
||||
grep ";" dig.out.ns2
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd . \
|
||||
@10.53.0.3 soa > dig.out.ns3
|
||||
status=`expr $status + $?`
|
||||
grep ";" dig.out.ns3
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd . \
|
||||
@10.53.0.4 soa > dig.out.ns4
|
||||
status=`expr $status + $?`
|
||||
grep ";" dig.out.ns4
|
||||
status=0
|
||||
|
||||
rm -f dig.out.*
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue