test-ssh: stablize for platform-specific shell quoting
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 09 Jun 2015 00:02:02 -0400
changeset 25486 fd1e335d9876
parent 25485 8182163ae983
child 25487 f7b8b4ae2d25
test-ssh: stablize for platform-specific shell quoting Windows and OpenVMS use double quotes instead of single.
tests/test-ssh-bundle1.t
tests/test-ssh.t
--- a/tests/test-ssh-bundle1.t	Fri Jun 05 16:30:11 2015 -0700
+++ b/tests/test-ssh-bundle1.t	Tue Jun 09 00:02:02 2015 -0400
@@ -457,7 +457,7 @@
 
   $ hg pull --debug ssh://user@dummy/remote
   pulling from ssh://user@dummy/remote
-  running dummyssh user@dummy 'hg -R remote serve --stdio'
+  running dummyssh user@dummy ('|")hg -R remote serve --stdio('|") (re)
   sending hello command
   sending between command
   remote: 286
--- a/tests/test-ssh.t	Fri Jun 05 16:30:11 2015 -0700
+++ b/tests/test-ssh.t	Tue Jun 09 00:02:02 2015 -0400
@@ -445,7 +445,7 @@
 
   $ hg pull --debug ssh://user@dummy/remote
   pulling from ssh://user@dummy/remote
-  running dummyssh user@dummy 'hg -R remote serve --stdio'
+  running dummyssh user@dummy ('|")hg -R remote serve --stdio('|") (re)
   sending hello command
   sending between command
   remote: 286