diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-02-04 15:18:04 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2020-02-04 15:18:26 -0800 |
commit | fa7028248974c27a5089988198e8171b4a061d56 (patch) | |
tree | c6f7fb4f7260596229eb819caa39b4b67ae0b4ae /tests | |
parent | e73fecbeb667f9c8e3e0ed0c44af82ea78bb28cd (diff) | |
download | tcpdump-fa7028248974c27a5089988198e8171b4a061d56.tar.gz |
Improve "skipped" messages.
If we're skipping a test because something *is* set, say "XXX set".
If we're skipping a test because something *isn't* set, say "XXX not
set".
(Don't say the same thing in both cases.)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/TESTrun | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TESTrun b/tests/TESTrun index fd7b24e9..e106057f 100755 --- a/tests/TESTrun +++ b/tests/TESTrun @@ -107,12 +107,12 @@ sub runOneComplexTest { } if(!$foundit) { - printf " %-40s: skipped (no %s)\n", $name, $configset; + printf " %-40s: skipped (%s not set)\n", $name, $configset; return 0; } if(!$unfoundit) { - printf " %-40s: skipped (no %s)\n", $name, $configunset; + printf " %-40s: skipped (%s set)\n", $name, $configunset; return 0; } |