tests: stabilize test-log.t on Windows stable
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 17 Apr 2020 21:00:18 -0400
branchstable
changeset 44735 46856c2cc4f2
parent 44734 78b7eae31488
child 44739 828d3277618a
tests: stabilize test-log.t on Windows I think this is because Windows doesn't recognize single quote. Other ssh based clones use this clunky style too. Differential Revision: https://phab.mercurial-scm.org/D8459
tests/test-log.t
--- a/tests/test-log.t	Fri Apr 17 18:47:31 2020 -0400
+++ b/tests/test-log.t	Fri Apr 17 21:00:18 2020 -0400
@@ -2334,10 +2334,10 @@
 is global. So we shouldn't expect the namespace always exists. Using
 ssh:// makes sure a bundle repository is created from scratch. (issue6301)
 
-  $ hg clone -e "'$PYTHON' '$TESTDIR/dummyssh'" \
+  $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" \
   >          -qr0 "ssh://user@dummy/`pwd`/a" a-clone
   $ hg incoming --config extensions.names=names.py -R a-clone \
-  >             -e "'$PYTHON' '$TESTDIR/dummyssh'" -T '{bars}\n' -l1
+  >             -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -T '{bars}\n' -l1
   comparing with ssh://user@dummy/$TESTTMP/a
   searching for changes