[PATCH] test-ssh: stablize for platform specific shell quoting

Augie Fackler raf at durin42.com
Tue Jun 9 10:17:23 CDT 2015


On Tue, Jun 09, 2015 at 12:05:16AM -0400, Matt Harbison wrote:
> # 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
>

queued, thanks

>
> 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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list