]> The Tcpdump Group git mirrors - tcpdump/commitdiff
add a test case for the previous commit
authorMichael Haardt <[email protected]>
Sun, 16 Oct 2016 20:45:22 +0000 (21:45 +0100)
committerDenis Ovsienko <[email protected]>
Sun, 16 Oct 2016 20:45:22 +0000 (21:45 +0100)
tests/TESTLIST
tests/trunc_aack.out [new file with mode: 0644]
tests/truncated-aack.pcap [new file with mode: 0644]

index 6813ca9830fa6dd86ca3e22f0ad48d62f8f10131..114b7c485bd03bea9eb6ded4f0981db9dd79daaa 100644 (file)
@@ -108,6 +108,9 @@ pppoe           pppoe.pcap             pppoe.out       -t
 pppoes          pppoes.pcap            pppoes.out      -t
 pppoes_id       pppoes.pcap            pppoes_id.out   -t pppoes 0x3b
 
 pppoes          pppoes.pcap            pppoes.out      -t
 pppoes_id       pppoes.pcap            pppoes_id.out   -t pppoes 0x3b
 
+# PPP tests
+truncated_aack  truncated-aack.pcap    trunc_aack.out  -t
+
 # IGMP tests
 igmpv1         IGMP_V1.pcap            igmpv1.out              -t
 igmpv2         IGMP_V2.pcap            igmpv2.out              -t
 # IGMP tests
 igmpv1         IGMP_V1.pcap            igmpv1.out              -t
 igmpv2         IGMP_V2.pcap            igmpv2.out              -t
diff --git a/tests/trunc_aack.out b/tests/trunc_aack.out
new file mode 100644 (file)
index 0000000..4b652c0
--- /dev/null
@@ -0,0 +1 @@
+PAP, Auth-ACK (0x02), id 1[|pap]
diff --git a/tests/truncated-aack.pcap b/tests/truncated-aack.pcap
new file mode 100644 (file)
index 0000000..f90b9e9
Binary files /dev/null and b/tests/truncated-aack.pcap differ