test-amend: fix HGEDITOR shell script to run on Windows
Windows doesn't know how to launch *.sh directly. This workaround is used in
several other tests.
--- a/tests/test-amend.t Thu Jul 13 22:47:35 2017 -0400
+++ b/tests/test-amend.t Thu Jul 13 22:57:11 2017 -0400
@@ -118,10 +118,10 @@
> EOF
$ chmod +x $TESTTMP/prefix.sh
- $ HGEDITOR="$TESTTMP/prefix.sh" hg amend --edit -q
+ $ HGEDITOR="sh $TESTTMP/prefix.sh" hg amend --edit -q
$ hg log -r . -T '{node|short} {desc}\n'
298f085230c3 EDITED: NEWMESSAGE
- $ HGEDITOR="$TESTTMP/prefix.sh" hg amend -e -m MSG -q
+ $ HGEDITOR="sh $TESTTMP/prefix.sh" hg amend -e -m MSG -q
$ hg log -r . -T '{node|short} {desc}\n'
974f07f28537 EDITED: MSG