test-clonebundles: accept another error string here
authorAugie Fackler <augie@google.com>
Thu, 25 Aug 2016 01:06:32 -0400
changeset 29845 398037e0511c
parent 29844 c4d03b6d9576
child 29846 318e2b600b80
test-clonebundles: accept another error string here This is what happens if you run the test in a FreeBSD Jail, rather than "connection refused".
tests/test-clonebundles.t
--- a/tests/test-clonebundles.t	Thu Aug 25 01:26:39 2016 -0400
+++ b/tests/test-clonebundles.t	Thu Aug 25 01:06:32 2016 -0400
@@ -61,7 +61,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* (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]