From: Guy Harris Date: Sat, 13 Jun 2020 21:14:32 +0000 (-0700) Subject: TESTrun: always return a value from runtest(). X-Git-Tag: tcpdump-4.99-bp~341 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/701100567bf15763e33d9ce281b9cb49cbc8e83a TESTrun: always return a value from runtest(). 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. --- diff --git a/tests/TESTrun b/tests/TESTrun index 57d709fd..53487971 100755 --- a/tests/TESTrun +++ b/tests/TESTrun @@ -239,6 +239,7 @@ sub runtest { print " with error messages:\n"; showfile($stderrlog); } + return(5); } sub loadconfighash {