diff tests/test-clonebundles.t @ 40973:97484e1d1834

tests: followup on network related errors on Debian 9 First, update test-clonebundles.t which was failing since the introduction of the `$EADDRNOTAVAIL$` common pattern. Also update two tests from 8695fbe17f7c with a more compact condition line. Differential Revision: https://phab.mercurial-scm.org/D5445
author Boris Feld <boris.feld@octobus.net>
date Sun, 16 Dec 2018 18:51:48 +0000
parents a0886a4d6dce
children f2f538725d07
line wrap: on
line diff
--- a/tests/test-clonebundles.t	Sun Dec 16 17:55:08 2018 +0900
+++ b/tests/test-clonebundles.t	Sun Dec 16 18:51:48 2018 +0000
@@ -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|(.* )?Cannot assign requested address) (re)
+  error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$) (re)
   abort: error applying bundle
   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
   [255]