comparison tests/test-ssh-batch.t @ 46671:fa30292b680b

sshpeer: don't fail forwarding output from closed connections The test still shows an internal error, but one that happens further along. Differential Revision: https://phab.mercurial-scm.org/D10073
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
date Thu, 25 Feb 2021 10:00:08 -0500
parents fe36ce0fbcdd
children aa2e38147e8b
comparison
equal deleted inserted replaced
46670:fe36ce0fbcdd 46671:fa30292b680b
8 Checking that when lookup multiple bookmarks in one go, if one of them 8 Checking that when lookup multiple bookmarks in one go, if one of them
9 fails (thus causing the sshpeer to be stopped), the errors from the 9 fails (thus causing the sshpeer to be stopped), the errors from the
10 further lookups don't result in tracebacks. 10 further lookups don't result in tracebacks.
11 11
12 $ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/$(pwd)/../a |& tail -n 1 12 $ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/$(pwd)/../a |& tail -n 1
13 ValueError: I/O operation on closed file 13 StopIteration