fix secondkey test, properly

This commit is contained in:
Evan Hunt
2012-06-20 22:44:06 -07:00
parent 72012bd370
commit 55479af81f
4 changed files with 29 additions and 6 deletions

View File

@@ -227,7 +227,7 @@ status=`expr $status + $ret`
echo "I:test using second key"
ret=0
$RNDC -s 10.53.0.2 -p 9953 -c ../common/rndc.conf -k ns2/secondkey.key status > /dev/null || ret=1
$RNDC -s 10.53.0.2 -p 9953 -c ns2/secondkey.conf status > /dev/null || ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`