]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Look for core dumps, and fail test if some are found
authorMichael Richardson <[email protected]>
Sun, 10 Jan 2010 19:28:59 +0000 (14:28 -0500)
committerMichael Richardson <[email protected]>
Sun, 10 Jan 2010 19:28:59 +0000 (14:28 -0500)
tests/TESTonce

index 987dacb92fa443547171a18c580cb23e379c4944..40d544b04f4408d162a9b83b21242befb40a87ca 100755 (executable)
@@ -41,3 +41,6 @@ if (! -f $input) {
 
 print "    ";
 exec("../tcpdump -n -r $input $options | tee NEW/$output | diff -w - $output >DIFF/$output.diff");
 
 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;