tests: add "(glob)" for l10n messages in test-largefiles-update.t for Windows stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 20 Oct 2014 22:08:08 +0900
branchstable
changeset 23058 6099b518643c
parent 23057 f41dd17ae6b7
child 23059 6ecd1ff8c42c
tests: add "(glob)" for l10n messages in test-largefiles-update.t for Windows This patch follows the style of other tests avoiding same kind of issue.
tests/test-largefiles-update.t
--- a/tests/test-largefiles-update.t	Mon Oct 20 22:08:08 2014 +0900
+++ b/tests/test-largefiles-update.t	Mon Oct 20 22:08:08 2014 +0900
@@ -116,8 +116,13 @@
   $ hg commit -m 'will be rollback-ed soon'
   $ echo largeY > largeY
   $ hg add --large largeY
+#if windows
+  $ hg status -A large1
+  large1: * (glob)
+#else
   $ hg status -A large1
   large1: No such file or directory
+#endif
   $ hg status -A large2
   ? large2
   $ hg status -A largeX
@@ -202,24 +207,39 @@
   $ hg commit -m '#4'
 
   $ hg rebase -s 1 -d 2 --keep
+#if windows
+  $ hg status -A large1
+  large1: * (glob)
+#else
   $ hg status -A large1
   large1: No such file or directory
+#endif
   $ hg status -A largeX
   C largeX
   $ hg strip -q 5
 
   $ hg update -q -C 2
   $ hg transplant -q 1 4
+#if windows
+  $ hg status -A large1
+  large1: * (glob)
+#else
   $ hg status -A large1
   large1: No such file or directory
+#endif
   $ hg status -A largeX
   C largeX
   $ hg strip -q 5
 
   $ hg update -q -C 2
   $ hg transplant -q --merge 1 --merge 4
+#if windows
+  $ hg status -A large1
+  large1: * (glob)
+#else
   $ hg status -A large1
   large1: No such file or directory
+#endif
   $ hg status -A largeX
   C largeX
   $ hg strip -q 5