Mercurial > hg-stable
changeset 41321:f2f538725d07 stable
tests: fix regression tests failing on CentOS 7
Differential Revision: https://phab.mercurial-scm.org/D5877
author | Mathias De Mare <mathias.de_mare@nokia.com> |
---|---|
date | Thu, 07 Feb 2019 11:08:54 +0100 |
parents | 8f0e8b179842 |
children | ffbf742bfe1f 91701785c2c5 |
files | tests/test-clonebundles.t tests/test-http-proxy.t tests/test-lfs-serve-access.t |
diffstat | 3 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-clonebundles.t Thu Feb 07 09:12:01 2019 +0100 +++ b/tests/test-clonebundles.t Thu Feb 07 11:08:54 2019 +0100 @@ -64,7 +64,7 @@ $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest $ hg clone http://localhost:$HGPORT server-not-runner applying clone bundle from http://localhost:$HGPORT1/bundle.hg - error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$) (re) + error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$|.* No route to host) (re) abort: error applying bundle (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") [255]
--- a/tests/test-http-proxy.t Thu Feb 07 09:12:01 2019 +0100 +++ b/tests/test-http-proxy.t Thu Feb 07 11:08:54 2019 +0100 @@ -90,7 +90,7 @@ misconfigured hosts) $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f - abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$) (re) + abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$|No route to host) (re) [255] do not use the proxy if it is in the no list
--- a/tests/test-lfs-serve-access.t Thu Feb 07 09:12:01 2019 +0100 +++ b/tests/test-lfs-serve-access.t Thu Feb 07 11:08:54 2019 +0100 @@ -84,6 +84,7 @@ $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing abort: LFS error: *onnection *refused*! (glob) (?) abort: LFS error: $EADDRNOTAVAIL$! (glob) (?) + abort: LFS error: No route to host! (?) (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing) [255]