changeset 3486:bee9fee8f36b stable

test: explicitly run HGEDITOR shell command with `sh` Otherwise Windows pops up the "What program do you want to use to open this?" dialog.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 21 Jan 2018 16:55:02 -0500
parents ece7cfdff335
children 1baf32675ec6 c0b6a95b94b9
files tests/test-prev-next.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-prev-next.t	Sun Jan 21 16:46:31 2018 -0500
+++ b/tests/test-prev-next.t	Sun Jan 21 16:55:02 2018 -0500
@@ -243,7 +243,7 @@
 
   $ hg init repo
   $ cd repo
-  $ HGEDITOR=${TESTDIR}/fake-editor.sh
+  $ HGEDITOR="sh ${TESTDIR}/fake-editor.sh"
   $ echo hi > foo
   $ hg ci -Am 'one'
   adding foo