2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

the dynamic zone test wasn't working as expected since the child zone wasn't

securely delegated.
This commit is contained in:
Brian Wellington
2002-02-06 03:28:59 +00:00
parent 60e9e70654
commit 64ea670052
2 changed files with 4 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: sign.sh,v 1.17 2002/01/22 22:27:27 gson Exp $
# $Id: sign.sh,v 1.18 2002/02/06 03:28:59 bwelling Exp $
SYSTEMTESTTOP=../..
. $SYSTEMTESTTOP/conf.sh
@@ -33,7 +33,7 @@ keyname=`$KEYGEN -r $RANDFILE -a DSA -b 768 -n zone $zone`
( cd ../ns3 && sh sign.sh )
for subdomain in secure bogus
for subdomain in secure bogus dynamic
do
cp ../ns3/keyset-$subdomain.example. .

View File

@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.36 2002/01/22 22:27:24 gson Exp $
# $Id: tests.sh,v 1.37 2002/02/06 03:28:58 bwelling Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
@@ -309,8 +309,7 @@ ret=0
$DIG $DIGOPTS +noauth dynamic.example. SOA @10.53.0.3 > dig.out.ns3.test$n || ret=1
$DIG $DIGOPTS +noauth dynamic.example. SOA @10.53.0.4 > dig.out.ns4.test$n || ret=1
$PERL ../digcomp.pl dig.out.ns3.test$n dig.out.ns4.test$n || ret=1
# XXX why does this fail?
# grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null || ret=1
grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null || ret=1
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`