tests: stabilize test-share.t on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 07 Mar 2019 22:14:22 -0500
changeset 41896 e82c932c01e3
parent 41895 7da6307cc07a
child 41897 0cbcb3e13fcf
tests: stabilize test-share.t on Windows PYTHON was not getting mangled for MSYS style paths, and remote was spitting out remote: 'C' is not recognized as an internal or external command, remote: operable program or batch file. (once -q was removed). Additionally, this should fix a failure with py3 because of spaces in the path.
tests/test-share.t
--- a/tests/test-share.t	Sun Mar 03 19:46:59 2019 +0530
+++ b/tests/test-share.t	Thu Mar 07 22:14:22 2019 -0500
@@ -127,7 +127,7 @@
 Cloning a shared repo via bundle2 results in a non-shared clone
 
   $ cd ..
-  $ hg clone -q --stream --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2
+  $ hg clone -q --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2
   $ cat ./cloned-via-bundle2/.hg/requires | grep "shared"
   [1]
   $ hg id --cwd cloned-via-bundle2 -r tip