Mercurial > hg
diff tests/test-http-bad-server.t @ 45839:ebee234d952a
errors: set detailed exit code to 100 for some remote errors
This is per https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan.
Differential Revision: https://phab.mercurial-scm.org/D9309
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 22 Oct 2020 13:31:34 -0700 |
parents | edc8504bc26b |
children | 95c4cca641f6 |
line wrap: on
line diff
--- a/tests/test-http-bad-server.t Thu Nov 12 21:56:52 2020 -0800 +++ b/tests/test-http-bad-server.t Thu Oct 22 13:31:34 2020 -0700 @@ -41,7 +41,7 @@ $ hg clone http://localhost:$HGPORT/ clone abort: error: (\$ECONNRESET\$|\$EADDRNOTAVAIL\$) (re) - [255] + [100] (The server exits on its own, but there is a race between that and starting a new server. So ensure the process is dead.) @@ -63,7 +63,7 @@ --runs-per-test=20 on macOS 10.12 during the freeze for 4.2. $ hg clone http://localhost:$HGPORT/ clone abort: error: * (glob) - [255] + [100] $ killdaemons.py $DAEMON_PIDS @@ -74,7 +74,7 @@ $ hg clone http://localhost:$HGPORT/ clone abort: error: bad HTTP status line: * (glob) - [255] + [100] $ killdaemons.py $DAEMON_PIDS @@ -90,7 +90,7 @@ $ cat hg.pid > $DAEMON_PIDS $ hg clone http://localhost:$HGPORT/ clone abort: error: bad HTTP status line: * (glob) - [255] + [100] $ killdaemons.py $DAEMON_PIDS @@ -107,7 +107,7 @@ $ cat hg.pid > $DAEMON_PIDS $ hg clone http://localhost:$HGPORT/ clone abort: error: bad HTTP status line: * (glob) - [255] + [100] $ killdaemons.py $DAEMON_PIDS @@ -150,7 +150,7 @@ $ hg clone http://localhost:$HGPORT/ clone requesting all changes abort: error: bad HTTP status line: * (glob) - [255] + [100] $ killdaemons.py $DAEMON_PIDS @@ -217,7 +217,7 @@ $ hg clone http://localhost:$HGPORT/ clone abort: error: bad HTTP status line: * (glob) - [255] + [100] $ killdaemons.py $DAEMON_PIDS @@ -277,7 +277,7 @@ $ hg clone http://localhost:$HGPORT/ clone abort: error: bad HTTP status line: H - [255] + [100] $ killdaemons.py $DAEMON_PIDS