summaryrefslogtreecommitdiffstats
path: root/tests/printf_z.tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:13:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:13:01 +0000
commit7adcb5b605cc1328a3084c334f4697ec9771936c (patch)
tree03e681bfda053978ba896745828e09cb056ad156 /tests/printf_z.tests
parentInitial commit. (diff)
downloadtcpdump-7adcb5b605cc1328a3084c334f4697ec9771936c.tar.xz
tcpdump-7adcb5b605cc1328a3084c334f4697ec9771936c.zip
Adding upstream version 4.99.4.upstream/4.99.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/printf_z.tests')
-rw-r--r--tests/printf_z.tests132
1 files changed, 132 insertions, 0 deletions
diff --git a/tests/printf_z.tests b/tests/printf_z.tests
new file mode 100644
index 0000000..a08199d
--- /dev/null
+++ b/tests/printf_z.tests
@@ -0,0 +1,132 @@
+# -*- perl -*-
+
+$testlist = [
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf-gmpls',
+ input => 'ospf-gmpls.pcap',
+ output => 'ospf-gmpls.out',
+ args => '-v'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf-nssa-bitnt',
+ input => 'ospf-nssa-bitnt.pcap',
+ output => 'ospf-nssa-bitnt.out',
+ args => '-v'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf3_ah-vv',
+ input => 'OSPFv3_with_AH.pcap',
+ output => 'ospf3_ah-vv.out',
+ args => '-vv'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf3_bc-vv',
+ input => 'OSPFv3_broadcast_adjacency.pcap',
+ output => 'ospf3_bc-vv.out',
+ args => '-vv'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf3_mp-vv',
+ input => 'OSPFv3_multipoint_adjacencies.pcap',
+ output => 'ospf3_mp-vv.out',
+ args => '-vv'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf3_nbma-vv',
+ input => 'OSPFv3_NBMA_adjacencies.pcap',
+ output => 'ospf3_nbma-vv.out',
+ args => '-vv'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'ospf2-seg-fault-1-v',
+ input => 'ospf2-seg-fault-1.pcapng',
+ output => 'ospf2-seg-fault-1-v.out',
+ args => '-v'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'm3ua-vv',
+ input => 'isup.pcap',
+ output => 'isupvv.out',
+ args => '-vv'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'rsvp_infloop-v',
+ input => 'rsvp-infinite-loop.pcap',
+ output => 'rsvp_infloop-v.out',
+ args => '-v'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'decnet',
+ input => 'DECnet_Phone.pcap',
+ output => 'decnet.out',
+ args => ''
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'eigrp-tlv-oobr',
+ input => 'eigrp-tlv-oobr.pcap',
+ output => 'eigrp-tlv-oobr.out',
+ args => '-vvv -e'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'isis-areaaddr-oobr-1',
+ input => 'isis-areaaddr-oobr-1.pcap',
+ output => 'isis-areaaddr-oobr-1.out',
+ args => '-vvv -e'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'isis-areaaddr-oobr-2',
+ input => 'isis-areaaddr-oobr-2.pcap',
+ output => 'isis-areaaddr-oobr-2.out',
+ args => '-vvv -e'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'pktap-heap-overflow',
+ input => 'pktap-heap-overflow.pcap',
+ output => 'pktap-heap-overflow.out',
+ args => '-v'
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'dns-zlip-1',
+ input => 'dns-zlip-1.pcap',
+ output => 'dns-zlip-1.out',
+ args => ''
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'dns-zlip-2',
+ input => 'dns-zlip-2.pcap',
+ output => 'dns-zlip-2.out',
+ args => ''
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'dns-zlip-3',
+ input => 'dns-zlip-3.pcap',
+ output => 'dns-zlip-3.out',
+ args => ''
+ },
+ {
+ config_unset => 'HAVE_NO_PRINTF_Z',
+ name => 'sflow_print-segv',
+ input => 'sflow_print-segv.pcap',
+ output => 'sflow_print-segv.out',
+ args => '-v'
+ },
+];
+
+1;