[PATCH 09 of 11 STABLE] tests: add "(glob)" for l10n messages in test-clone.t for Windows

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Mon Oct 20 08:27:03 CDT 2014


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1413810488 -32400
#      Mon Oct 20 22:08:08 2014 +0900
# Branch stable
# Node ID 0d35f78a9e27433ad6204fe3088d6c400c1d8b89
# Parent  c4062d5dd1a5ca690d722d4ca6d436bed7435c54
tests: add "(glob)" for l10n messages in test-clone.t for Windows

This patch follows the style of other tests avoiding same kind of issue.

diff --git a/tests/test-clone.t b/tests/test-clone.t
--- a/tests/test-clone.t
+++ b/tests/test-clone.t
@@ -555,9 +555,15 @@ No local source
 
 No remote source
 
+#if windows
+  $ hg clone http://127.0.0.1:3121/a b
+  abort: error: * (glob)
+  [255]
+#else
   $ hg clone http://127.0.0.1:3121/a b
   abort: error: *refused* (glob)
   [255]
+#endif
   $ rm -rf b # work around bug with http clone
 
 


More information about the Mercurial-devel mailing list