From: Michael Richardson Date: Sun, 18 Aug 2019 20:52:56 +0000 (-0400) Subject: save stderr to file in case it is useful X-Git-Tag: tcpdump-4.99-bp~687 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/86fa0706f8b4a01e985f964f11eb6a98d79f2317 save stderr to file in case it is useful --- diff --git a/tests/TESTonce b/tests/TESTonce index 79336b4d..a52b7f7b 100755 --- a/tests/TESTonce +++ b/tests/TESTonce @@ -30,7 +30,7 @@ if ($^O eq 'MSWin32') { else { # we used to do this as a nice pipeline, but the problem is that $r fails to # to be set properly if the tcpdump core dumps. - $r = system "$TCPDUMP 2>/dev/null -# -n -r $input $options >NEW/$outputbase"; + $r = system "$TCPDUMP 2>NEW/$outputbase.stderr -# -n -r $input $options >NEW/$outputbase"; if($r != 0) { my $coredump = false; my $status = 0;