]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
cleanup DLV test
authorEvan Hunt <each@isc.org>
Tue, 27 Oct 2009 05:49:50 +0000 (05:49 +0000)
committerEvan Hunt <each@isc.org>
Tue, 27 Oct 2009 05:49:50 +0000 (05:49 +0000)
bin/tests/system/dlv/ns3/sign.sh

index e3382cf71923127d20ce43d1d3a83e8d3c68d79b..3c14604e81ed75a52880ff1b5950ce0fa9f59741 100755 (executable)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.4 2007/06/19 23:47:02 tbox Exp $
+# $Id: sign.sh,v 1.5 2009/10/27 05:49:50 each Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
@@ -82,7 +82,7 @@ keyname2=`$KEYGEN -f KSK -r $RANDFILE -a DSA -b 768 -n zone $zone`
 
 cat $infile $keyname1.key $keyname2.key >$zonefile
 
-$SIGNER -g -r $RANDFILE -o $zone -f $outfile $zonefile > /dev/null
+$SIGNER -g -r $RANDFILE -l $dlvzone -o $zone -f $outfile $zonefile > /dev/null
 echo "I: signed $zone"
 
 
@@ -162,7 +162,7 @@ $SIGNER -g -r $RANDFILE -o $zone -f $outfile $zonefile > /dev/null
 echo "I: signed $zone"
 
 
-cat $keyname2.key | $PERL -n -e '
+grep -v '^;' $keyname2.key | $PERL -n -e '
 local ($dn, $class, $type, $flags, $proto, $alg, @rest) = split;
 local $key = join("", @rest);
 print <<EOF