summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2019-09-14 14:45:34 -0400
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-09-24 14:12:09 +0200
commit1613feb480bb076139fe965f572919a36e83727e (patch)
tree8badb19661081d793f30706d207e7db21bb90bb0
parentd62bc79722af81986ef38b3c7ebce32c8b45de19 (diff)
downloadtcpdump-1613feb480bb076139fe965f572919a36e83727e.tar.gz
updated test results for error results
-rw-r--r--tests/kday1.out2
-rw-r--r--tests/kday1.out.stderr2
-rw-r--r--tests/kday2.out2
-rw-r--r--tests/kday2.out.stderr2
-rw-r--r--tests/kday3.out2
-rw-r--r--tests/kday3.out.stderr2
-rw-r--r--tests/kday4.out2
-rw-r--r--tests/kday4.out.stderr2
-rw-r--r--tests/kday5.out2
-rw-r--r--tests/kday5.out.stderr2
-rw-r--r--tests/kday6.out2
-rw-r--r--tests/kday6.out.stderr2
-rw-r--r--tests/kday7.out2
-rw-r--r--tests/kday7.out.stderr2
-rw-r--r--tests/kday8.out2
-rw-r--r--tests/kday8.out.stderr2
-rw-r--r--tests/kh-addrfail-001.out2
-rw-r--r--tests/kh-addrfail-002.out2
-rw-r--r--tests/kh-addrfail-003.out2
-rw-r--r--tests/kh-addrfail-004.out2
-rw-r--r--tests/kh-addrfail-005.out2
-rw-r--r--tests/kh-addrfail-006.out2
-rw-r--r--tests/kh-addrfail-007.out2
-rw-r--r--tests/kh-addrfail-008.out2
-rw-r--r--tests/kh-addrfail-009.out2
-rw-r--r--tests/kh-addrfail-010.out2
-rw-r--r--tests/kh-addrfail-011.out2
27 files changed, 35 insertions, 19 deletions
diff --git a/tests/kday1.out b/tests/kday1.out
index 9cb884d4..e8c3e25a 100644
--- a/tests/kday1.out
+++ b/tests/kday1.out
@@ -1,2 +1,2 @@
IP6, wrong link-layer encapsulation
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday1.out.stderr b/tests/kday1.out.stderr
new file mode 100644
index 00000000..ab223324
--- /dev/null
+++ b/tests/kday1.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday1.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: invalid packet capture length 138952731, bigger than snaplen of 65535
diff --git a/tests/kday2.out b/tests/kday2.out
index ccbaae9e..e0979b85 100644
--- a/tests/kday2.out
+++ b/tests/kday2.out
@@ -19,4 +19,4 @@ IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, b
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
204.0.55.10.323 > 204.9.54.80.55936: Flags [P.], cksum 0xc9b6 (incorrect -> 0x8900), seq 3589495407:3589495754, ack 370428050, win 1040, options [nop,nop,TS val 2364757411 ecr 3084508609], length 347
RPKI-RTRv177 (unknown)
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday2.out.stderr b/tests/kday2.out.stderr
new file mode 100644
index 00000000..b4402a9b
--- /dev/null
+++ b/tests/kday2.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday2.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: truncated dump file; tried to read 16 header bytes, only got 3
diff --git a/tests/kday3.out b/tests/kday3.out
index 4ae7a5ca..7d2c2db4 100644
--- a/tests/kday3.out
+++ b/tests/kday3.out
@@ -17,4 +17,4 @@ IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, b
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
204.0.55.10.323 > 204.9.54.80.55936: Flags [P.], cksum 0xc9b6 (incorrect -> 0xa6b3), seq 0:347, ack 1, win 1040, options [nop,nop,TS val 2364757411 ecr 3084508609], length 347
RPKI-RTRv177 (unknown)
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday3.out.stderr b/tests/kday3.out.stderr
new file mode 100644
index 00000000..05115b0d
--- /dev/null
+++ b/tests/kday3.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday3.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: invalid packet capture length 1817495761, bigger than snaplen of 65535
diff --git a/tests/kday4.out b/tests/kday4.out
index 5e2ab475..d034fcc1 100644
--- a/tests/kday4.out
+++ b/tests/kday4.out
@@ -30,4 +30,4 @@ IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, b
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
204.0.55.10.323 > 204.9.54.80.55936: Flags [P.], cksum 0xc9b6 (incorrect -> 0x3f28), seq 0:347, ack 4294959105, win 1040, options [nop,nop,TS val 2364757411 ecr 3084508609], length 347
RPKI-RTRv177 (unknown)
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday4.out.stderr b/tests/kday4.out.stderr
new file mode 100644
index 00000000..c470f9cb
--- /dev/null
+++ b/tests/kday4.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday4.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: truncated dump file; tried to read 16 header bytes, only got 1
diff --git a/tests/kday5.out b/tests/kday5.out
index a529dd2a..88249ef6 100644
--- a/tests/kday5.out
+++ b/tests/kday5.out
@@ -19,4 +19,4 @@ IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, b
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
204.0.55.10.323 > 204.9.54.80.55936: Flags [P.], cksum 0xc9b6 (incorrect -> 0x183a), seq 3589495407:3589495754, ack 370428050, win 1040, options [nop,nop,TS val 2351322531 ecr 3084508609], length 347
RPKI-RTRv177 (unknown)
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday5.out.stderr b/tests/kday5.out.stderr
new file mode 100644
index 00000000..72c4c152
--- /dev/null
+++ b/tests/kday5.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday5.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: invalid packet capture length 168430090, bigger than snaplen of 65535
diff --git a/tests/kday6.out b/tests/kday6.out
index 0c11b5da..cc78c191 100644
--- a/tests/kday6.out
+++ b/tests/kday6.out
@@ -347,4 +347,4 @@ FRF.16 Frag, seq 693, Flags [Begin], UI e8! IS-IS, length 301989913
unknown TLV #58, length: 58
0x0000: 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a
0x0010: 3a3a 3a [|isis]
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday6.out.stderr b/tests/kday6.out.stderr
new file mode 100644
index 00000000..be6a293b
--- /dev/null
+++ b/tests/kday6.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday6.pcap, link-type MFR (FRF.16 Frame Relay)
+tcpdump: pcap_loop: invalid packet capture length 976894522, bigger than snaplen of 65535
diff --git a/tests/kday7.out b/tests/kday7.out
index 569cde62..48028727 100644
--- a/tests/kday7.out
+++ b/tests/kday7.out
@@ -30,4 +30,4 @@ IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, b
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
204.0.55.10.323 > 204.9.54.80.55936: Flags [P.], cksum 0xc9b6 (incorrect -> 0x4ba9), seq 0:347, ack 4294959105, win 1040, options [nop,nop,TS val 2364757411 ecr 3084508609], length 347
RPKI-RTRv177 (unknown)
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday7.out.stderr b/tests/kday7.out.stderr
new file mode 100644
index 00000000..8ca6a7aa
--- /dev/null
+++ b/tests/kday7.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday7.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: invalid packet capture length 138948798, bigger than snaplen of 511
diff --git a/tests/kday8.out b/tests/kday8.out
index 2e4060b2..0eb0dabb 100644
--- a/tests/kday8.out
+++ b/tests/kday8.out
@@ -19,4 +19,4 @@ IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, b
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
204.0.55.10.323 > 204.9.54.80.55936: Flags [P.], cksum 0xc9b6 (incorrect -> 0xed9b), seq 3589495407:3589495754, ack 370428050, win 1040, options [nop,nop,TS val 2364757411 ecr 3084508609], length 347
RPKI-RTRv177 (unknown)
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kday8.out.stderr b/tests/kday8.out.stderr
new file mode 100644
index 00000000..437e8406
--- /dev/null
+++ b/tests/kday8.out.stderr
@@ -0,0 +1,2 @@
+reading from file kday8.pcap, link-type EN10MB (Ethernet)
+tcpdump: pcap_loop: truncated dump file; tried to read 16 header bytes, only got 3
diff --git a/tests/kh-addrfail-001.out b/tests/kh-addrfail-001.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-001.out
+++ b/tests/kh-addrfail-001.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-002.out b/tests/kh-addrfail-002.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-002.out
+++ b/tests/kh-addrfail-002.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-003.out b/tests/kh-addrfail-003.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-003.out
+++ b/tests/kh-addrfail-003.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-004.out b/tests/kh-addrfail-004.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-004.out
+++ b/tests/kh-addrfail-004.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-005.out b/tests/kh-addrfail-005.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-005.out
+++ b/tests/kh-addrfail-005.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-006.out b/tests/kh-addrfail-006.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-006.out
+++ b/tests/kh-addrfail-006.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-007.out b/tests/kh-addrfail-007.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-007.out
+++ b/tests/kh-addrfail-007.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-008.out b/tests/kh-addrfail-008.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-008.out
+++ b/tests/kh-addrfail-008.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-009.out b/tests/kh-addrfail-009.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-009.out
+++ b/tests/kh-addrfail-009.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-010.out b/tests/kh-addrfail-010.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-010.out
+++ b/tests/kh-addrfail-010.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1
diff --git a/tests/kh-addrfail-011.out b/tests/kh-addrfail-011.out
index 5edcddac..c8370f94 100644
--- a/tests/kh-addrfail-011.out
+++ b/tests/kh-addrfail-011.out
@@ -1 +1 @@
-EXIT CODE 00000100
+EXIT CODE 00000100: dump:0 code: 1