[Updated] D8583: sshpeer: add test showing that -q silences remote errors

valentin.gatienbaron (Valentin Gatien-Baron) phabricator at mercurial-scm.org
Tue May 26 16:37:58 UTC 2020


Closed by commit rHG15e26cc0e2c6: sshpeer: add test showing that -q silences remote errors (authored by valentin.gatienbaron).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8583?vs=21470&id=21482

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8583/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8583

AFFECTED FILES
  tests/test-ssh.t

CHANGE DETAILS

diff --git a/tests/test-ssh.t b/tests/test-ssh.t
--- a/tests/test-ssh.t
+++ b/tests/test-ssh.t
@@ -46,6 +46,9 @@
   remote: abort: repository nonexistent not found!
   abort: no suitable response from remote hg!
   [255]
+  $ hg clone -q -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
+  abort: no suitable response from remote hg!
+  [255]
 
 non-existent absolute path
 
@@ -553,6 +556,7 @@
 
   $ cat dummylog
   Got arguments 1:user at dummy 2:hg -R nonexistent serve --stdio
+  Got arguments 1:user at dummy 2:hg -R nonexistent serve --stdio
   Got arguments 1:user at dummy 2:hg -R $TESTTMP/nonexistent serve --stdio
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio
   Got arguments 1:user at dummy 2:hg -R local-stream serve --stdio (no-reposimplestore !)



To: valentin.gatienbaron, #hg-reviewers, marmoute
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200526/cf3c65a0/attachment-0002.html>


More information about the Mercurial-patches mailing list