Patchwork [3,of,3] tests: glob over a difference between Windows 7 and Window 10

login
register
mail settings
Submitter Matt Harbison
Date Oct. 18, 2018, 10:14 p.m.
Message ID <813e957dd8c608d071d9.1539900899@mharbison-pc.attotech.com>
Download mbox | patch
Permalink /patch/36160/
State Accepted
Headers show

Comments

Matt Harbison - Oct. 18, 2018, 10:14 p.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1539899647 14400
#      Thu Oct 18 17:54:07 2018 -0400
# Node ID 813e957dd8c608d071d96f4adea5a5bbca44a17c
# Parent  54a6f166ac8bf8d563d6244e76cefc91d34c2516
tests: glob over a difference between Windows 7 and Window 10

The error value is 11001 on Windows 10.  I have no idea why it changed, but it
seems unimportant.

Patch

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