Mercurial > hg-stable
changeset 33339:ad230d56db25
test-tools: conditionalize output instead of tests
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 08 Jul 2017 14:21:11 -0400 |
parents | ad124b3208fd |
children | dd050fc04cc9 |
files | tests/test-tools.t |
diffstat | 1 files changed, 4 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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 !)