[PATCH 3 of 8] test-tools: conditionalize output instead of tests
Matt Harbison
mharbison72 at gmail.com
Sat Jul 8 21:11:01 EDT 2017
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1499538071 14400
# Sat Jul 08 14:21:11 2017 -0400
# Node ID a2b6bcfce0db950addd5bbbf2dc58978262a88d8
# Parent ee6492d95e8e67b00f3f74a9bde9504a46ec8ffa
test-tools: conditionalize output instead of tests
diff --git a/tests/test-tools.t b/tests/test-tools.t
--- a/tests/test-tools.t
+++ b/tests/test-tools.t
@@ -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 !)
More information about the Mercurial-devel
mailing list