# HG changeset patch # User Denis Laxalde # Date 1498122989 -7200 # Node ID d8b40230c8e89249fe4b666b74dbbf928d00cff7 # Parent 816a4fa7d5f855e9617129f5d3968d6240870ee4 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. diff -r 816a4fa7d5f8 -r d8b40230c8e8 tests/test-clonebundles.t --- 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]