Mercurial > hg
changeset 25298:3f6b54ef4d41
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.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 27 May 2015 12:11:13 -0400 |
parents | 3966e39fea98 |
children | 4f07fb1d7fbb |
files | tests/test-revert-interactive.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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