]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Improve "skipped" messages.
authorGuy Harris <[email protected]>
Tue, 4 Feb 2020 23:18:04 +0000 (15:18 -0800)
committerGuy Harris <[email protected]>
Tue, 4 Feb 2020 23:18:26 +0000 (15:18 -0800)
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.)

tests/TESTrun

index fd7b24e907ea4b2c05d9652470c6e1691712c2f8..e106057f09571c958fcd121e2add77aaeee6c923 100755 (executable)
@@ -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;
     }