mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
initialise matches
This commit is contained in:
parent
5360986092
commit
ab6fd5e892
@ -43,13 +43,14 @@ if $test_fixed; then
|
||||
else
|
||||
echo "I: Checking order fixed behaves as cyclic when disabled (master)"
|
||||
ret=0
|
||||
matches=0
|
||||
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
||||
do
|
||||
j=`expr $i % 4`
|
||||
$DIG +nosea +nocomm +nocmd +noquest +noadd +noauth +nocomm +nostat +short \
|
||||
-p 5300 @10.53.0.1 fixed.example > dig.out.fixed || ret=1
|
||||
if [ $i -le 4 ]; then
|
||||
cp dig.out.fixed dig.out.$j
|
||||
cp dig.out.fixed dig.out.$j
|
||||
else
|
||||
cmp -s dig.out.fixed dig.out.$j && matches=`expr $matches + 1`
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user