]> The Tcpdump Group git mirrors - tcpdump/commitdiff
TESTrun: always return a value from runtest().
authorGuy Harris <[email protected]>
Sat, 13 Jun 2020 21:14:32 +0000 (14:14 -0700)
committerGuy Harris <[email protected]>
Sat, 13 Jun 2020 21:14:32 +0000 (14:14 -0700)
Falling off the end isn't reported as an issue by the Perl interpreter
here, and doesn't appear to cause a reliable return value, so not all
failed tests are counted.

tests/TESTrun

index 57d709fd8d5db250d142f8dba133d284bbc95bae..5348797102b2dd433381c63711af683608ff2403 100755 (executable)
@@ -239,6 +239,7 @@ sub runtest {
         print " with error messages:\n";
         showfile($stderrlog);
     }
         print " with error messages:\n";
         showfile($stderrlog);
     }
+    return(5);
 }
 
 sub loadconfighash {
 }
 
 sub loadconfighash {