test-tools: conditionalize output instead of tests
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 08 Jul 2017 14:21:11 -0400
changeset 33339 ad230d56db25
parent 33338 ad124b3208fd
child 33340 dd050fc04cc9
test-tools: conditionalize output instead of tests
tests/test-tools.t
--- a/tests/test-tools.t	Sat Jul 08 14:15:01 2017 -0400
+++ b/tests/test-tools.t	Sat Jul 08 14:21:11 2017 -0400
@@ -88,23 +88,14 @@
   $ cd ..
 
 Yadda is a symlink
-#if symlink
   $ f -qr dir -HB 17
-  dir: directory with 3 files
-  dir/bar:
-  0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.|
-  0010: 39                                              |9|
-  dir/foo:
-  0000: 66 6f 6f 0a                                     |foo.|
-  dir/l:
-  0000: 79 61 64 64 61                                  |yadda|
-#else
-  $ f -qr dir -HB 17
-  dir: directory with 2 files (esc)
+  dir: directory with 3 files (symlink !)
+  dir: directory with 2 files (no-symlink !)
   dir/bar: (glob)
   0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.|
   0010: 39                                              |9|
   dir/foo: (glob)
   0000: 66 6f 6f 0a                                     |foo.|
-#endif
+  dir/l: (symlink !)
+  0000: 79 61 64 64 61                                  |yadda| (symlink !)