Patchwork [3,of,4] test-fileset: eliminate a duplicate test that was conditionalized for output

login
register
mail settings
Submitter Matt Harbison
Date April 9, 2017, 2:37 a.m.
Message ID <651cf90e65f6c5f5717c.1491705467@Envy>
Download mbox | patch
Permalink /patch/20034/
State Accepted
Headers show

Comments

Matt Harbison - April 9, 2017, 2:37 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1491678109 14400
#      Sat Apr 08 15:01:49 2017 -0400
# Node ID 651cf90e65f6c5f5717caa9779f268319e2bc676
# Parent  d236dca9355d6af70f20ba7966ccf903657a61c8
test-fileset: eliminate a duplicate test that was conditionalized for output

Patch

diff --git a/tests/test-fileset.t b/tests/test-fileset.t
--- a/tests/test-fileset.t
+++ b/tests/test-fileset.t
@@ -348,7 +348,6 @@ 
 
 Test safety of 'encoding' on removed files
 
-#if symlink
   $ fileset 'encoding("ascii")'
   dos
   mac
@@ -359,23 +358,9 @@ 
   2k
   b1
   b2
-  b2link
+  b2link (symlink !)
   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