Mercurial > hg
comparison tests/test-http-bad-server.t @ 40973:97484e1d1834
tests: followup on network related errors on Debian 9
First, update test-clonebundles.t which was failing since the introduction of
the `$EADDRNOTAVAIL$` common pattern.
Also update two tests from 8695fbe17f7c with a more compact condition line.
Differential Revision: https://phab.mercurial-scm.org/D5445
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 16 Dec 2018 18:51:48 +0000 |
parents | e06719b7544d |
children | c296b8faa926 |
comparison
equal
deleted
inserted
replaced
40972:2393c4044214 | 40973:97484e1d1834 |
---|---|
36 | 36 |
37 $ hg serve --config badserver.closebeforeaccept=true -p $HGPORT -d --pid-file=hg.pid | 37 $ hg serve --config badserver.closebeforeaccept=true -p $HGPORT -d --pid-file=hg.pid |
38 $ cat hg.pid > $DAEMON_PIDS | 38 $ cat hg.pid > $DAEMON_PIDS |
39 | 39 |
40 $ hg clone http://localhost:$HGPORT/ clone | 40 $ hg clone http://localhost:$HGPORT/ clone |
41 abort: error: $ECONNRESET$ (?) | 41 abort: error: (\$ECONNRESET\$|\$EADDRNOTAVAIL\$) (re) |
42 abort: error: $EADDRNOTAVAIL$ (?) | |
43 [255] | 42 [255] |
44 | 43 |
45 (The server exits on its own, but there is a race between that and starting a new server. | 44 (The server exits on its own, but there is a race between that and starting a new server. |
46 So ensure the process is dead.) | 45 So ensure the process is dead.) |
47 | 46 |