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

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Oct. 20, 2014, 1:27 p.m.
Message ID <0d35f78a9e27433ad620.1413811623@juju>
Download mbox | patch
Permalink /patch/6425/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - Oct. 20, 2014, 1:27 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@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.

Patch

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