# HG changeset patch # User Matt Harbison # Date 2020-02-24 21:33:10 # Node ID 1813f79017ac8755e2790546b4fded6672c54f55 # Parent 98c14f0108b8a9fb6a8ce1aad7f1a283423213e6 tests: stabilize test-amend.t on Windows If $TESTTMP isn't quoted in this context, it ends up like `C:Temphgtests.pikkoxchild1test-amend.t-obsstore-off`. Differential Revision: https://phab.mercurial-scm.org/D8144 diff --git a/tests/test-amend.t b/tests/test-amend.t --- a/tests/test-amend.t +++ b/tests/test-amend.t @@ -487,7 +487,7 @@ Modifying a file while the editor is ope $ echo beta >> foo $ cat > $TESTTMP/touchy_editor.sh < sleep 1 - > echo delta >> $TESTTMP/modify-during-amend/foo + > echo delta >> "$TESTTMP/modify-during-amend/foo" > sleep 1 > echo hi > "\$1" > sleep 1