diff tests/test-prev-next.t @ 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 c1d20598bc2b
children 1baf32675ec6
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