From: Mark Andrews Date: Sun, 1 May 2011 21:36:33 +0000 (+0000) Subject: fix expression X-Git-Tag: v9.9.0a1~312 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=bbf46f1aa21fb07e6a0aa0bc2cb1102e022c0ebf;p=thirdparty%2Fbind9.git fix expression --- diff --git a/bin/tests/system/autosign/tests.sh b/bin/tests/system/autosign/tests.sh index 7a96ca2fa73..0ace602de04 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.22 2011/05/01 11:29:20 marka Exp $ +# $Id: tests.sh,v 1.23 2011/05/01 21:36:33 marka Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -898,8 +898,7 @@ check_interval () { { if ($6 == 0) $6 = 25; - x = ($6+ $5*60000 + $4*3600000) - - ($3+ $2*60000 + $1*3600000); + x = ($6+ $5*60000 + $4*3600000) - ($3+ $2*60000 + $1*3600000); x = x/1000; if (x != int(x)) x = int(x + 1);