tests/testlib/wait-on-file
branchstable
changeset 44739 23dd43d94f50
parent 44727 694d40416d62
child 44763 f727939f3513
--- a/tests/testlib/wait-on-file	Sun Apr 19 17:33:08 2020 -0700
+++ b/tests/testlib/wait-on-file	Thu Apr 16 22:56:03 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=$(( ( 100 * $timer * $HGTEST_TIMEOUT) / $HGTEST_TIMEOUT_DEFAULT ))
 fi
 
 wait_on="$2"