From: Mark Andrews Date: Thu, 2 Feb 2012 03:47:39 +0000 (+0000) Subject: portable code, ok'd bu Evan X-Git-Tag: v9.10.0a1~1424 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=92a83eeb2dfbc57e7664211105dba513f13b630b;p=thirdparty%2Fbind9.git portable code, ok'd bu Evan --- diff --git a/bin/tests/system/autosign/tests.sh b/bin/tests/system/autosign/tests.sh index e32109ea8ce..2b066e663ae 100644 --- a/bin/tests/system/autosign/tests.sh +++ b/bin/tests/system/autosign/tests.sh @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.42 2011/12/22 11:57:30 marka Exp $ +# $Id: tests.sh,v 1.43 2012/02/02 03:47:39 marka Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -1107,7 +1107,8 @@ if [ $ret != 0 ]; then echo "I:failed"; fi status=`expr $status + $ret` echo "I:forcing full sign with unreadable keys ($n)" -chmod 0 ns1/K.+*+*.{key,private} +ret=0 +chmod 0 ns1/K.+*+*.key ns1/K.+*+*.private || ret=1 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 sign . 2>&1 | sed 's/^/I:ns1 /' $DIG $DIGOPTS . @10.53.0.1 dnskey > dig.out.ns1.test$n || ret=1 grep "status: NOERROR" dig.out.ns1.test$n > /dev/null || ret=1