##// END OF EJS Templates
tests: update network related errors for Debian 9...
Boris Feld -
r40917:8695fbe1 default
parent child Browse files
Show More
@@ -143,6 +143,12 b' substitutions = ['
143 br'Only one usage of each socket address'
143 br'Only one usage of each socket address'
144 br' \(protocol/network address/port\) is normally permitted',
144 br' \(protocol/network address/port\) is normally permitted',
145 ),
145 ),
146 br'$EADDRNOTAVAIL$': (
147 # strerror()
148 br'Cannot assign requested address',
149
150 # FormatMessage(WSAEADDRNOTAVAIL)
151 )
146 }
152 }
147
153
148 for replace, msgs in _errors.items():
154 for replace, msgs in _errors.items():
@@ -36,7 +36,8 b' Failure to accept() socket should result'
36 $ cat hg.pid > $DAEMON_PIDS
36 $ cat hg.pid > $DAEMON_PIDS
37
37
38 $ hg clone http://localhost:$HGPORT/ clone
38 $ hg clone http://localhost:$HGPORT/ clone
39 abort: error: $ECONNRESET$
39 abort: error: $ECONNRESET$ (?)
40 abort: error: $EADDRNOTAVAIL$ (?)
40 [255]
41 [255]
41
42
42 (The server exits on its own, but there is a race between that and starting a new server.
43 (The server exits on its own, but there is a race between that and starting a new server.
@@ -90,7 +90,8 b' bad host:port for proxy ("Protocol not s'
90 misconfigured hosts)
90 misconfigured hosts)
91
91
92 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f
92 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f
93 abort: error: (Connection refused|Protocol not supported|.* actively refused it|Cannot assign requested address) (re)
93 abort: error: (Connection refused|Protocol not supported|.* actively refused it) (re) (?)
94 abort: error: $EADDRNOTAVAIL$ (?)
94 [255]
95 [255]
95
96
96 do not use the proxy if it is in the no list
97 do not use the proxy if it is in the no list
@@ -82,7 +82,8 b' Reasonable hint for a misconfigured blob'
82 [255]
82 [255]
83
83
84 $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing
84 $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing
85 abort: LFS error: *onnection *refused*! (glob)
85 abort: LFS error: *onnection *refused*! (glob) (?)
86 abort: LFS error: $EADDRNOTAVAIL$! (glob) (?)
86 (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing)
87 (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing)
87 [255]
88 [255]
88
89
General Comments 0
You need to be logged in to leave comments. Login now