Mercurial > public > mercurial-scm > hg-stable
diff tests/test-ssh.t @ 16606:19379226dc67 stable
hg-ssh: use %s for printing paths in error messages
This avoids \\ if this ever is run on windows - for example in the test suite.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 May 2012 00:49:01 +0200 |
parents | bb3334806ace |
children | 289fdcd4cb47 |
line wrap: on
line diff
--- a/tests/test-ssh.t Mon May 07 00:48:51 2012 +0200 +++ b/tests/test-ssh.t Mon May 07 00:49:01 2012 +0200 @@ -282,10 +282,12 @@ $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP/a repo\"" "ssh://user@dummy/a repo" 3fb238f49e8c + $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo" - remote: Illegal repository '$TESTTMP/a repo' (glob) + remote: Illegal repository "$TESTTMP/a repo" (glob) abort: no suitable response from remote hg! [255] + $ SSH_ORIGINAL_COMMAND="'hg' -R 'a'repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo" remote: Illegal command "'hg' -R 'a'repo' serve --stdio": No closing quotation abort: no suitable response from remote hg!