From: Denis Ovsienko Date: Wed, 17 Mar 2021 11:49:51 +0000 (+0000) Subject: Don't try to run the DLT_RAW test on OpenBSD. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/0f19351efd103bf3bae5d005fadab4b6843055a4 Don't try to run the DLT_RAW test on OpenBSD. With this change tcpdump passes "make check" on OpenBSD 6.8 AMD64. --- diff --git a/tests/TESTLIST b/tests/TESTLIST index 3aee9e40..252838c4 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -508,7 +508,7 @@ bfd-raw-auth-sha1 bfd-raw-auth-sha1.pcap bfd-raw-auth-sha1.out bfd-raw-auth-sha1-v bfd-raw-auth-sha1.pcap bfd-raw-auth-sha1-v.out -v # bad packets from Hanno Böck -heap-overflow-1 heap-overflow-1.pcap heap-overflow-1.out -v +# heap-overflow-1 is in non-bsd.tests heap-overflow-2 heap-overflow-2.pcap heap-overflow-2.out -v heapoverflow-atalk_print heapoverflow-atalk_print.pcap heapoverflow-atalk_print.out -v heapoverflow-EXTRACT_16BITS heapoverflow-EXTRACT_16BITS.pcap heapoverflow-EXTRACT_16BITS.out -v diff --git a/tests/non-bsd.tests b/tests/non-bsd.tests new file mode 100644 index 00000000..e18bace0 --- /dev/null +++ b/tests/non-bsd.tests @@ -0,0 +1,15 @@ +# -*- perl -*- + +$testlist = [ + # This specific test fails on OpenBSD because the .pcap file uses DLT_RAW, + # which OpenBSD treats as DLT_LOOP. The macro is set on all three BSDs. + { + config_unset => 'HAVE_NET_IF_PFLOG_H', + name => 'heap-overflow-1', + input => 'heap-overflow-1.pcap', + output => 'heap-overflow-1.out', + args => '-v' + }, +]; + +1;