aboutsummaryrefslogtreecommitdiffstats
path: root/tests/TESTonce
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-12-19 14:49:10 -0800
committerElliott Hughes <enh@google.com>2017-12-19 14:49:10 -0800
commit9a98642aa1ba8f1498e94db580908602ba012c9d (patch)
tree50f775e61bd2e27a2d87eb6b4cea8162e50a947f /tests/TESTonce
parenta9b933680b81642b4498c2db1d91f7ea4982d7f6 (diff)
downloadplatform_external_tcpdump-9a98642aa1ba8f1498e94db580908602ba012c9d.tar.gz
platform_external_tcpdump-9a98642aa1ba8f1498e94db580908602ba012c9d.tar.bz2
platform_external_tcpdump-9a98642aa1ba8f1498e94db580908602ba012c9d.zip
Upgrade to tcpdump 4.9.1.
From CHANGES: Sunday July 23, 2017 denis@ovsienko.info Summary for 4.9.1 tcpdump release CVE-2017-11108/Fix bounds checking for STP. Make assorted documentation updates and fix a few typos in tcpdump output. Fixup -C for file size >2GB (GH #488). Show AddressSanitizer presence in version output. Fix a bug in test scripts (exposed in GH #613). On FreeBSD adjust Capsicum capabilities for netmap. On Linux fix a use-after-free when the requested interface does not exist. Bug: N/A Test: ran manually Change-Id: Id663a3770bc70c8b59e2579479437c7bc8f27fab
Diffstat (limited to 'tests/TESTonce')
-rwxr-xr-xtests/TESTonce4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TESTonce b/tests/TESTonce
index 78ad075..012364f 100755
--- a/tests/TESTonce
+++ b/tests/TESTonce
@@ -15,13 +15,13 @@ $options=$ARGV[3];
my $r;
if ($^O eq 'MSWin32') {
- $r = system "..\\windump -n -r $input $options 2>NUL | sed 's/\\r//' | tee NEW/$output | diff $output - >DIFF/$output.diff";
+ $r = system "..\\windump -n -t -r $input $options 2>NUL | sed 's/\\r//' | tee NEW/$output | diff $output - >DIFF/$output.diff";
# need to do same as below for Cygwin.
}
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/$output";
+ $r = system "../tcpdump 2>/dev/null -n -t -r $input $options >NEW/$output";
if($r == 0x100) {
# this means tcpdump exited with code 1.
open(OUTPUT, ">>"."NEW/$output") || die "fail to open $output\n";