comparison tests/test-ssh.t @ 44859:15e26cc0e2c6

sshpeer: add test showing that -q silences remote errors Differential Revision: https://phab.mercurial-scm.org/D8583
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Mon, 25 May 2020 20:02:15 -0400
parents 7f9538a3b29e
children 5d77f571a563
comparison
equal deleted inserted replaced
44858:5d8ae9248a70 44859:15e26cc0e2c6
42 42
43 repo not found error 43 repo not found error
44 44
45 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local 45 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
46 remote: abort: repository nonexistent not found! 46 remote: abort: repository nonexistent not found!
47 abort: no suitable response from remote hg!
48 [255]
49 $ hg clone -q -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
47 abort: no suitable response from remote hg! 50 abort: no suitable response from remote hg!
48 [255] 51 [255]
49 52
50 non-existent absolute path 53 non-existent absolute path
51 54
551 554
552 $ cd $TESTTMP 555 $ cd $TESTTMP
553 556
554 $ cat dummylog 557 $ cat dummylog
555 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio 558 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
559 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
556 Got arguments 1:user@dummy 2:hg -R $TESTTMP/nonexistent serve --stdio 560 Got arguments 1:user@dummy 2:hg -R $TESTTMP/nonexistent serve --stdio
557 Got arguments 1:user@dummy 2:hg -R remote serve --stdio 561 Got arguments 1:user@dummy 2:hg -R remote serve --stdio
558 Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio (no-reposimplestore !) 562 Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio (no-reposimplestore !)
559 Got arguments 1:user@dummy 2:hg -R remote serve --stdio (no-reposimplestore !) 563 Got arguments 1:user@dummy 2:hg -R remote serve --stdio (no-reposimplestore !)
560 Got arguments 1:user@dummy 2:hg -R remote serve --stdio (no-reposimplestore !) 564 Got arguments 1:user@dummy 2:hg -R remote serve --stdio (no-reposimplestore !)