bundleclone: adjust tests to pass on Linux
authorGregory Szorc <gps@mozilla.com>
Wed, 13 Aug 2014 16:54:36 -0700
changeset 359294 14474d96524cc5f4dab8e6bd3b06d2a3dbe47afe
parent 359293 3cfe43d2d68a5ec4d23329696fc0aff34474b300
child 359295 6eb84cd52f27e3deee549bcc1fde989cae159c49
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
bundleclone: adjust tests to pass on Linux
hgext/bundleclone/tests/test-clone.t
--- a/hgext/bundleclone/tests/test-clone.t
+++ b/hgext/bundleclone/tests/test-clone.t
@@ -47,31 +47,31 @@ Empty bundle manifest file
   getting foo
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
 Manifest file with invalid URL
 
   $ echo 'http://does.not.exist/bundle.hg' >> server/.hg/bundleclone.manifest
   $ hg clone http://localhost:$HGPORT invalid-bundle-url
   downloading bundle http://does.not.exist/bundle.hg
-  error fetching bundle; using normal clone: [Errno 8] nodename nor servname provided, or not known
+  error fetching bundle; using normal clone: [Errno * (glob)
   requesting all changes
   adding changesets
   adding manifests
   adding file changes
   added 2 changesets with 2 changes to 2 files
   updating to branch default
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
 Server is not running
 
   $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/bundleclone.manifest
   $ hg clone http://localhost:$HGPORT server-not-runner
   downloading bundle http://localhost:$HGPORT1/bundle.hg
-  error fetching bundle; using normal clone: [Errno 61] Connection refused
+  error fetching bundle; using normal clone: [Errno *] Connection refused (glob)
   requesting all changes
   adding changesets
   adding manifests
   adding file changes
   added 2 changesets with 2 changes to 2 files
   updating to branch default
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved