Patchwork D8144: tests: stabilize test-amend.t on Windows

login
register
mail settings
Submitter phabricator
Date Feb. 25, 2020, 3:09 p.m.
Message ID <ff0edc362d7407afbdcc2e04695e384c@localhost.localdomain>
Download mbox | patch
Permalink /patch/45314/
State Not Applicable
Headers show

Comments

phabricator - Feb. 25, 2020, 3:09 p.m.
Closed by commit rHG1813f79017ac: tests: stabilize test-amend.t on Windows (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8144?vs=20289&id=20298

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8144/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8144

AFFECTED FILES
  tests/test-amend.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers, marmoute, pulkit
Cc: mercurial-devel

Patch

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 @@ 
   $ 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