summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-06-13 14:14:32 -0700
committerGuy Harris <gharris@sonic.net>2020-06-13 14:14:32 -0700
commit701100567bf15763e33d9ce281b9cb49cbc8e83a (patch)
tree24718cb103176f47de23f8a5a4d3b09f0c679d99 /tests
parentbf3ea37ea546f41f375858dbec60db4154d67e4c (diff)
downloadtcpdump-701100567bf15763e33d9ce281b9cb49cbc8e83a.tar.gz
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/TESTrun1
1 files changed, 1 insertions, 0 deletions
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 {