From: Michael Richardson Date: Sun, 10 Jan 2010 19:28:59 +0000 (-0500) Subject: Look for core dumps, and fail test if some are found X-Git-Tag: tcpdump-4.1.0~46 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/94feff51dbb3be0d4d9755a4eb71a0daf3118fdb?ds=inline Look for core dumps, and fail test if some are found --- diff --git a/tests/TESTonce b/tests/TESTonce index 987dacb9..40d544b0 100755 --- a/tests/TESTonce +++ b/tests/TESTonce @@ -41,3 +41,6 @@ if (! -f $input) { print " "; exec("../tcpdump -n -r $input $options | tee NEW/$output | diff -w - $output >DIFF/$output.diff"); +@cores = glob("core*"); +exit 10 if (@cores > 0); +exit 0;