Commit Graph

6 Commits

Author SHA1 Message Date
Aida Getoeva
93252b7fd2 Enable batch mode for SSH during background pushbackup
Summary:
Added passing BatchMode option to SSH call only when puchbackup runs in background.
Also fixed dummyssh in skipping options before hostname, added unittest.

Reviewed By: quark-zju

Differential Revision: D7119123

fbshipit-source-id: 2c8e66fee44cca5b23389cba8e21e3a0b237268e
2018-04-13 21:51:21 -07:00
Jun Wu
001fbec734 dummyssh: use LOCALIP
This patch replaces hard-coded 127.0.0.1 with $LOCALIP in dummyssh.
2017-02-15 23:24:03 -08:00
Pulkit Goyal
c38821acbc py3: make tests/dummyssh use absolute_import 2016-05-13 03:26:28 +05:30
Augie Fackler
9460b542a9 dummyssh: fix check-code nit 2013-06-14 15:28:40 -04:00
Mads Kiilerich
32d88164b3 tests: make simple single quotes work with dummyssh on windows
Mercurial assumes that the shell on remote servers over ssh servers uses unix
quoting rules. Tests using dummyssh are however also run on windows where cmd
doesn't parse single quotes like on unix.

This hack replaces the single quotes with double quotes on windows - that is
enough to make test-ssh.t pass after 7bec00a7d7a6.
2011-12-26 15:30:43 +01:00
Mads Kiilerich
adf83aa0ff tests: share dummyssh 2011-05-05 01:47:46 +02:00