From 64ea6700524cb0a7f4dbc3c2573f067404bbae1a Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 6 Feb 2002 03:28:59 +0000 Subject: [PATCH] the dynamic zone test wasn't working as expected since the child zone wasn't securely delegated. --- bin/tests/system/dnssec/ns2/sign.sh | 4 ++-- bin/tests/system/dnssec/tests.sh | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/tests/system/dnssec/ns2/sign.sh b/bin/tests/system/dnssec/ns2/sign.sh index dc6e710a94..7de73cab3a 100644 --- a/bin/tests/system/dnssec/ns2/sign.sh +++ b/bin/tests/system/dnssec/ns2/sign.sh @@ -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. . diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh index f987d7d64b..bd3d8fbc59 100644 --- a/bin/tests/system/dnssec/tests.sh +++ b/bin/tests/system/dnssec/tests.sh @@ -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`