[PATCH 1 of 2] test-fileset: conditionalize output with symlink

Matt Harbison mharbison72 at gmail.com
Tue Dec 22 04:38:40 UTC 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1450747086 18000
#      Mon Dec 21 20:18:06 2015 -0500
# Node ID 68e6ca6a9f828f0115b7863d1be97ce8f403ad20
# Parent  3dea4eae4eebac11741f0c1dc5dcd9c88d8f4554
test-fileset: conditionalize output with symlink

diff --git a/tests/test-fileset.t b/tests/test-fileset.t
--- a/tests/test-fileset.t
+++ b/tests/test-fileset.t
@@ -315,6 +315,7 @@
 
 Test safety of 'encoding' on removed files
 
+#if symlink
   $ fileset 'encoding("ascii")'
   dos
   mac
@@ -328,6 +329,20 @@
   b2link
   bin
   c1
+#else
+  $ fileset 'encoding("ascii")'
+  dos
+  mac
+  mixed
+  .hgsub
+  .hgsubstate
+  1k
+  2k
+  b1
+  b2
+  bin
+  c1
+#endif
 
 Test detection of unintentional 'matchctx.existing()' invocation
 


More information about the Mercurial-devel mailing list