From: Evan Hunt Date: Tue, 19 Jan 2010 15:54:45 +0000 (+0000) Subject: smartsign fails on slow machines. delay the timing-sensitive X-Git-Tag: v9.7.0rc2~22^2~12 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ecde9a1cd5b830e032e31ae57751acb0994aa976;p=thirdparty%2Fbind9.git smartsign fails on slow machines. delay the timing-sensitive dnssec-settime call as long as possible. --- diff --git a/bin/tests/system/smartsign/tests.sh b/bin/tests/system/smartsign/tests.sh index f591a08ad7f..8605e1eef82 100644 --- a/bin/tests/system/smartsign/tests.sh +++ b/bin/tests/system/smartsign/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.3 2010/01/18 23:48:40 tbox Exp $ +# $Id: tests.sh,v 1.4 2010/01/19 15:54:45 each Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -47,12 +47,13 @@ cksk1=`$KEYGEN -q -r $RANDFILE -fk $czone` # published but not YET active; will be active in 20 seconds cksk2=`$KEYGEN -q -r $RANDFILE -fk $czone` -$SETTIME -A now+20s $cksk2 > /dev/null +# $SETTIME moved after other $KEYGENs echo I:revoking key # revoking key changes its ID cksk3=`$KEYGEN -q -r $RANDFILE -fk $czone` cksk4=`$REVOKE $cksk3` +$SETTIME -A now+20s $cksk2 > /dev/null echo I:signing child zone czoneout=`$SIGNER -Sg -r $RANDFILE -o $czone $cfile 2>&1`