From: Michael Richardson Date: Sun, 18 Aug 2019 18:13:06 +0000 (-0400) Subject: show core dump status clearly X-Git-Tag: tcpdump-4.99-bp~688 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/d26eb2395c5df616661e5f2efec3f9c4f5d1c96e show core dump status clearly --- diff --git a/tests/TESTonce b/tests/TESTonce index 72be028f..79336b4d 100755 --- a/tests/TESTonce +++ b/tests/TESTonce @@ -32,6 +32,8 @@ else { # to be set properly if the tcpdump core dumps. $r = system "$TCPDUMP 2>/dev/null -# -n -r $input $options >NEW/$outputbase"; if($r != 0) { + my $coredump = false; + my $status = 0; # this means tcpdump failed. open(OUTPUT, ">>"."NEW/$outputbase") || die "fail to open $outputbase\n"; if( $r & 128 ) {