From patchwork Thu Apr 16 16:55:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D8425: wait-on-file: don't quote arithmetic argument From: phabricator X-Patchwork-Id: 46170 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Thu, 16 Apr 2020 16:55:12 +0000 Closed by commit rHG2789f25fc2b6: wait-on-file: don't quote arithmetic argument (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8425?vs=21102&id=21143 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8425/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8425 AFFECTED FILES tests/testlib/wait-on-file CHANGE DETAILS To: marmoute, #hg-reviewers, mharbison72, pulkit Cc: mharbison72, mercurial-devel diff --git a/tests/testlib/wait-on-file b/tests/testlib/wait-on-file --- a/tests/testlib/wait-on-file +++ b/tests/testlib/wait-on-file @@ -13,7 +13,7 @@ # if the test timeout have been extended, explicitly extend the provided timer if [ "$HGTEST_TIMEOUT_DEFAULT" -lt "$HGTEST_TIMEOUT" ]; then - timer=$(( ("$timer" * "$HGTEST_TIMEOUT") / $HGTEST_TIMEOUT_DEFAULT )) + timer=$(( ($timer * $HGTEST_TIMEOUT) / $HGTEST_TIMEOUT_DEFAULT )) fi wait_on="$2"