mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 09:37:10 -04:00
work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
This commit is contained in:
parent
24139527f3
commit
aade2614cb
1 changed files with 8 additions and 15 deletions
|
|
@ -15,7 +15,7 @@
|
|||
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
# SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.16 2000/07/05 18:49:05 bwelling Exp $
|
||||
# $Id: tests.sh,v 1.17 2000/07/05 19:42:34 gson Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
|
@ -28,35 +28,28 @@ sleep 5
|
|||
|
||||
status=0;
|
||||
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd example. \
|
||||
@10.53.0.2 axfr -p 5300 > dig.out.ns2
|
||||
status=`expr $status + $?`
|
||||
@10.53.0.2 axfr -p 5300 > dig.out.ns2 || status=1
|
||||
grep ";" dig.out.ns2
|
||||
|
||||
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd example. \
|
||||
@10.53.0.3 axfr -p 5300 > dig.out.ns3
|
||||
status=`expr $status + $?`
|
||||
@10.53.0.3 axfr -p 5300 > dig.out.ns3 || status=1
|
||||
grep ";" dig.out.ns3
|
||||
|
||||
$PERL ../digcomp.pl knowngood.dig.out dig.out.ns2
|
||||
status=`expr $status + $?`
|
||||
$PERL ../digcomp.pl knowngood.dig.out dig.out.ns2 || status=1
|
||||
|
||||
$PERL ../digcomp.pl knowngood.dig.out dig.out.ns3
|
||||
status=`expr $status + $?`
|
||||
$PERL ../digcomp.pl knowngood.dig.out dig.out.ns3 || status=1
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
|
||||
tsigzone. @10.53.0.2 axfr -y tsigzone.:1234abcd8765 -p 5300 \
|
||||
> dig.out.ns2
|
||||
status=`expr $status + $?`
|
||||
> dig.out.ns2 || status=1
|
||||
grep ";" dig.out.ns2
|
||||
|
||||
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
|
||||
tsigzone. @10.53.0.3 axfr -y tsigzone.:1234abcd8765 -p 5300 \
|
||||
> dig.out.ns3
|
||||
status=`expr $status + $?`
|
||||
> dig.out.ns3 || status=1
|
||||
grep ";" dig.out.ns3
|
||||
|
||||
$PERL ../digcomp.pl dig.out.ns2 dig.out.ns3
|
||||
status=`expr $status + $?`
|
||||
$PERL ../digcomp.pl dig.out.ns2 dig.out.ns3 || status=1
|
||||
|
||||
echo "I: exit status: $status"
|
||||
exit $status
|
||||
|
|
|
|||
Loading…
Reference in a new issue