diff tests/test-log.t @ 44735:46856c2cc4f2 stable

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
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 17 Apr 2020 21:00:18 -0400
parents 59ad165f6cdb
children 4ebc5f325bed
line wrap: on
line diff
--- 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