test-revert-interactive: don't escape the $ for $TESTTMP
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 27 May 2015 12:11:13 -0400
changeset 25298 3f6b54ef4d41
parent 25297 3966e39fea98
child 25299 4f07fb1d7fbb
test-revert-interactive: don't escape the $ for $TESTTMP Otherwise, sh tries to exec the literal path '${TESTTMP}/editor.sh' on Windows. The test runs clean on OS X both with and without this change.
tests/test-revert-interactive.t
--- a/tests/test-revert-interactive.t	Tue May 26 12:09:04 2015 -0700
+++ b/tests/test-revert-interactive.t	Wed May 27 12:11:13 2015 -0400
@@ -292,7 +292,7 @@
   $ hg st
 
 4) Use interactive revert to recover f and change it on the fly
-  $ HGEDITOR="\"sh\" \"\${TESTTMP}/editor.sh\"" PRINTHUNK="YES" hg revert -i -r ".^^"  <<EOF
+  $ HGEDITOR="\"sh\" \"${TESTTMP}/editor.sh\"" PRINTHUNK="YES" hg revert -i -r ".^^"  <<EOF
   > y
   > e
   > EOF