Mercurial > public > mercurial-scm > hg-stable
diff tests/test-ssh.t @ 47950:a28a7dcb9158
tests: setup dummyssh as the default ssh
To significantly reduce boilerplate in tests. One test is updated to
show that it works, I expect to do the rest in follow up commits.
Differential Revision: https://phab.mercurial-scm.org/D11244
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 02 Aug 2021 21:10:42 -0400 |
parents | eb611ecb435c |
children | 9c4204b7f3e4 |
line wrap: on
line diff
--- a/tests/test-ssh.t Tue Aug 24 21:25:35 2021 +0200 +++ b/tests/test-ssh.t Mon Aug 02 21:10:42 2021 -0400 @@ -540,7 +540,7 @@ $ hg pull --debug ssh://user@dummy/remote --config devel.debug.peer-request=yes pulling from ssh://user@dummy/remote - running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) + running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R remote serve --stdio['"] (re) sending upgrade request: * proto=exp-ssh-v2-0003 (glob) (sshv2 !) devel-peer-request: hello+between devel-peer-request: pairs: 81 bytes