changeset 33009:d8b40230c8e8

tests: update regex check for fetch error in test-clonebundles.t On some systems, e.g. Docker container, the actual error may be: error fetching bundle: [Errno 99] Cannot assign requested address Update the regex to handle this case.
author Denis Laxalde <denis@laxalde.org>
date Thu, 22 Jun 2017 11:16:29 +0200
parents 816a4fa7d5f8
children 9fda810cd0db
files tests/test-clonebundles.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clonebundles.t	Tue Jun 20 20:53:29 2017 -0700
+++ b/tests/test-clonebundles.t	Thu Jun 22 11:16:29 2017 +0200
@@ -62,7 +62,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|Cannot assign requested address) (re)
+  error fetching bundle: (.* refused.*|Protocol not supported|(.* )?Cannot assign requested address) (re)
   abort: error applying bundle
   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
   [255]