# HG changeset patch # User Matt Harbison # Date 1582579990 18000 # 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 -r 98c14f0108b8 -r 1813f79017ac tests/test-amend.t --- a/tests/test-amend.t Mon Feb 24 13:28:49 2020 +0900 +++ b/tests/test-amend.t Mon Feb 24 16:33:10 2020 -0500 @@ -487,7 +487,7 @@ $ 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