Mercurial > hg
changeset 35484:1853c8677160
test-ssh: stabilize for Windows
Previously, this complained:
remote: '.' is not recognized as an internal or external command,
remote: operable program or batch file.
Making this a python script apparently revealed some races[1]. Thanks to Yuya
for suggesting this.
[1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-December/109094.html
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 16 Dec 2017 18:58:02 -0500 |
parents | 817a3d20dd01 |
children | 1721ce06100a |
files | tests/test-ssh.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-ssh.t Fri Dec 22 21:19:29 2017 +0900 +++ b/tests/test-ssh.t Sat Dec 16 18:58:02 2017 -0500 @@ -603,12 +603,12 @@ > echo \$VAR >&2 > EOF $ chmod +x dumpenv - $ hg pull ssh://something --config ui.ssh="./dumpenv" + $ hg pull ssh://something --config ui.ssh="sh dumpenv" pulling from ssh://something/ remote: abort: no suitable response from remote hg! [255] - $ hg pull ssh://something --config ui.ssh="./dumpenv" --config sshenv.VAR=17 + $ hg pull ssh://something --config ui.ssh="sh dumpenv" --config sshenv.VAR=17 pulling from ssh://something/ remote: 17 abort: no suitable response from remote hg!