Sweeping changes to system test suite

This commit is contained in:
Michael Sawyer
2000-05-18 22:49:29 +00:00
parent e6ce1a0ea9
commit a92428ecb8
13 changed files with 201 additions and 37 deletions

View File

@@ -30,8 +30,7 @@ grep ";" dig.out.ns3
status=`expr $status + $?`
grep ";" dig.out.ns4
perl ../digcomp.pl dig.out.ns2 dig.out.ns3
perl ../digcomp.pl dig.out.ns2 dig.out.ns4
rm -f dig.out.*
# Check the example. domain
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
@@ -44,10 +43,70 @@ grep ";" dig.out.ns2
status=`expr $status + $?`
grep ";" dig.out.ns3
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
perl ../digcomp.pl dig.out.ns2 dig.out.ns3
status=`expr $status + $?`
rm -f dig.out.*
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd +noauth \
a.example. @10.53.0.2 a > dig.out.ns2
status=`expr $status + $?`
grep ";" dig.out.ns2
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd +noauth \
a.example. @10.53.0.4 a > dig.out.ns4
status=`expr $status + $?`
grep ";" dig.out.ns2
perl ../digcomp.pl dig.out.ns2 dig.out.ns4
status=`expr $status + $?`
# Check the insecure.example domain
rm -f dig.out.*
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
a.insecure.example. @10.53.0.3 a > dig.out.ns3
status=`expr $status + $?`
grep ";" dig.out.ns3
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
a.insecure.example. @10.53.0.4 a > dig.out.ns4
status=`expr $status + $?`
grep ";" dig.out.ns4
perl ../digcomp.pl dig.out.ns2 dig.out.ns3
perl ../digcomp.pl dig.out.ns2 dig.out.ns4
perl ../digcomp.pl dig.out.ns3 dig.out.ns4
status=`expr $status + $?`
# Check the secure.example domain
rm -f dig.out.*
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
a.secure.example. @10.53.0.3 a > dig.out.ns3
status=`expr $status + $?`
grep ";" dig.out.ns3
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
a.secure.example. @10.53.0.4 a > dig.out.ns4
status=`expr $status + $?`
grep ";" dig.out.ns4
perl ../digcomp.pl dig.out.ns3 dig.out.ns4
status=`expr $status + $?`
# Check the bogus domain
rm -f dig.out.*
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocmd \
a.bogus.example. @10.53.0.4 a > dig.out.ns4
grep "SERVFAIL" dig.out.ns4 > /dev/null
status=`expr $status + $?`
echo "SERVFAIL is expected in the following:"
grep ";" dig.out.ns4
if [ $status != 0 ]; then
echo "FAILED with status $status"
fi