[PATCH] test-clonebundles: accept another error string here

Augie Fackler raf at durin42.com
Thu Aug 25 05:13:55 UTC 2016


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1472101592 14400
#      Thu Aug 25 01:06:32 2016 -0400
# Node ID 2c715c771805cbb9f18d8c6d787d9f62b08d4bfb
# Parent  41ea8c9ce0113031f5129b8c0ab377cae71f6a2d
test-clonebundles: accept another error string here

This is what happens if you run the test in a FreeBSD Jail, rather
than "connection refused".

diff --git a/tests/test-clonebundles.t b/tests/test-clonebundles.t
--- a/tests/test-clonebundles.t
+++ b/tests/test-clonebundles.t
@@ -61,7 +61,7 @@ Server is not running aborts
   $ 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* (glob)
+  error fetching bundle: (.* refused.*|Protocol not supported) (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