changeset 44377:1813f79017ac stable

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
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 24 Feb 2020 16:33:10 -0500
parents 98c14f0108b8
children bb58931d0c4f
files tests/test-amend.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <<EOF
   > sleep 1
-  > echo delta >> $TESTTMP/modify-during-amend/foo
+  > echo delta >> "$TESTTMP/modify-during-amend/foo"
   > sleep 1
   > echo hi > "\$1"
   > sleep 1