[PATCH] test-ssh: stablize for platform specific shell quoting
Matt Harbison
mharbison72 at gmail.com
Tue Jun 9 04:05:16 UTC 2015
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1433822522 14400
# Tue Jun 09 00:02:02 2015 -0400
# Node ID 8a42b1b1818f716c01f2a7a14523b1663b4ad67c
# Parent 7beb2d6c7bf755f83293e9780b82a2632fc2918a
test-ssh: stablize for platform specific shell quoting
Windows and OpenVMS use double quotes instead of single.
diff --git a/tests/test-ssh-bundle1.t b/tests/test-ssh-bundle1.t
--- a/tests/test-ssh-bundle1.t
+++ b/tests/test-ssh-bundle1.t
@@ -457,7 +457,7 @@
$ hg pull --debug ssh://user@dummy/remote
pulling from ssh://user@dummy/remote
- running python "*/dummyssh" user at dummy 'hg -R remote serve --stdio' (glob)
+ running python ".*/dummyssh" user at dummy ('|")hg -R remote serve --stdio('|") (re)
sending hello command
sending between command
remote: 286
diff --git a/tests/test-ssh.t b/tests/test-ssh.t
--- a/tests/test-ssh.t
+++ b/tests/test-ssh.t
@@ -445,7 +445,7 @@
$ hg pull --debug ssh://user@dummy/remote
pulling from ssh://user@dummy/remote
- running python "*/dummyssh" user at dummy 'hg -R remote serve --stdio' (glob)
+ running python ".*/dummyssh" user at dummy ('|")hg -R remote serve --stdio('|") (re)
sending hello command
sending between command
remote: 286
More information about the Mercurial-devel
mailing list