[PATCH] tests: handle getaddrinfo reporting "No address associated with hostname"

Mads Kiilerich mads at kiilerich.com
Sun Mar 13 01:37:39 UTC 2016


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1457832963 -3600
#      Sun Mar 13 02:36:03 2016 +0100
# Branch stable
# Node ID ac566629ceb42445cbb8fd455ad3f0aff8540245
# Parent  48e1a641765d541a4bdc3f36b69cb3f5974040af
tests: handle getaddrinfo reporting "No address associated with hostname"

This has been seen on some Fedora 23 systems.

diff --git a/tests/test-clonebundles.t b/tests/test-clonebundles.t
--- a/tests/test-clonebundles.t
+++ b/tests/test-clonebundles.t
@@ -52,7 +52,7 @@ Manifest file with invalid URL aborts
   $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest
   $ hg clone http://localhost:$HGPORT 404-url
   applying clone bundle from http://does.not.exist/bundle.hg
-  error fetching bundle: (.* not known|getaddrinfo failed) (re)
+  error fetching bundle: (.* not known|getaddrinfo failed|No address associated with hostname) (re)
   abort: error applying bundle
   (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false")
   [255]


More information about the Mercurial-devel mailing list