changeset 27477:319d78cf787d

test-fileset: conditionalize output with symlink
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 21 Dec 2015 20:18:06 -0500
parents 9ebc02157bf3
children baa9810ee3ec
files tests/test-fileset.t
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fileset.t	Tue Dec 22 02:24:16 2015 +0000
+++ b/tests/test-fileset.t	Mon Dec 21 20:18:06 2015 -0500
@@ -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