]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix expression
authorMark Andrews <marka@isc.org>
Sun, 1 May 2011 21:36:33 +0000 (21:36 +0000)
committerMark Andrews <marka@isc.org>
Sun, 1 May 2011 21:36:33 +0000 (21:36 +0000)
bin/tests/system/autosign/tests.sh

index 7a96ca2fa73d9966464e3e501d546ddccc6c4604..0ace602de04fa459a1c2afe960ae27aefbb4eb8a 100644 (file)
@@ -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);