comparison tests/test-bad-pull.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 5abc47d4ca6b
children
comparison
equal deleted inserted replaced
45838:ae00e170f2d1 45839:ebee234d952a
1 #require serve 1 #require serve
2 2
3 $ hg clone http://localhost:$HGPORT/ copy 3 $ hg clone http://localhost:$HGPORT/ copy
4 abort: * (glob) 4 abort: * (glob)
5 [255] 5 [100]
6 6
7 $ test -d copy 7 $ test -d copy
8 [1] 8 [1]
9 9
10 $ "$PYTHON" "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid 10 $ "$PYTHON" "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid
11 $ cat dumb.pid >> $DAEMON_PIDS 11 $ cat dumb.pid >> $DAEMON_PIDS
12 $ hg clone http://localhost:$HGPORT/foo copy2 12 $ hg clone http://localhost:$HGPORT/foo copy2
13 abort: HTTP Error 404: * (glob) 13 abort: HTTP Error 404: * (glob)
14 [255] 14 [100]
15 $ killdaemons.py 15 $ killdaemons.py