changeset 29845:398037e0511c

test-clonebundles: accept another error string here This is what happens if you run the test in a FreeBSD Jail, rather than "connection refused".
author Augie Fackler <augie@google.com>
date Thu, 25 Aug 2016 01:06:32 -0400
parents c4d03b6d9576
children 318e2b600b80
files tests/test-clonebundles.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]