changeset 44632 | 82543879b48e |
parent 44631 | 1ed6293fc31b |
child 44726 | 2789f25fc2b6 |
--- a/tests/testlib/wait-on-file Fri Feb 28 02:23:28 2020 +0100 +++ b/tests/testlib/wait-on-file Fri Mar 20 23:41:35 2020 +0100 @@ -10,6 +10,12 @@ fi timer="$1" + +# 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 )) +fi + wait_on="$2" create="" if [ $# -eq 3 ]; then