# HG changeset patch # User Pierre-Yves David # Date 1586974116 -7200 # Node ID 2789f25fc2b6b7f30d234df512e542026fa3b04c # Parent 16c361152133c1c7f6a9a39bd17dbb9bd12221f8 wait-on-file: don't quote arithmetic argument This is unnecessary and Mac OS X choke on them. Differential Revision: https://phab.mercurial-scm.org/D8425 diff -r 16c361152133 -r 2789f25fc2b6 tests/testlib/wait-on-file --- a/tests/testlib/wait-on-file Tue Apr 14 19:09:56 2020 -0400 +++ b/tests/testlib/wait-on-file Wed Apr 15 20:08:36 2020 +0200 @@ -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"