Skip to content

Commit 9939a0f

Browse files
fxlbguyharris
authored andcommitted
tests: Use -tttt option for most tests
This change adds: year-month-day to the hours:minutes:secondes.{microseconds|nanoseconds}. It allows to catch more issues with timestamps processing. For some test using their own display time options, use 'SPECIAL_t' in options.
1 parent 8db1e99 commit 9939a0f

File tree

662 files changed

+13328
-13319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

662 files changed

+13328
-13319
lines changed

tests/802_15_4-data.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 04:15:33.623120 IEEE 802.15.4 Data packet v2 AR, seq 01 ab4d:10:05:00:81:00:01:00:01 < -:[ERROR: Truncated before dst_addr]
1+
1 2012-09-07 04:15:33.623120 IEEE 802.15.4 Data packet v2 AR, seq 01 ab4d:10:05:00:81:00:01:00:01 < -:[ERROR: Truncated before dst_addr]

tests/802_15_4-oobr-1.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 11:30:55.515816 IEEE 802.15.4 Beacon packet v2 Sequence Number Suppression, IE present, seq suppressed abcd:[ERROR: Truncated before dst_addr]
1+
1 2016-10-28 11:30:55.515816 IEEE 802.15.4 Beacon packet v2 Sequence Number Suppression, IE present, seq suppressed abcd:[ERROR: Truncated before dst_addr]

tests/802_15_4-oobr-2.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 03:07:17.623120 IEEE 802.15.4 Data packet v2 AR, seq 01 [ERROR: Truncated before dst_pan]
1+
1 2012-09-07 03:07:17.623120 IEEE 802.15.4 Data packet v2 AR, seq 01 [ERROR: Truncated before dst_pan]

tests/802_15_4_beacon.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 11:30:55.515816 IEEE 802.15.4 Beacon packet v2 Sequence Number Suppression, IE present, seq suppressed abcd:ffff < -:[ERROR: Truncated before dst_addr]
1+
1 2016-10-28 11:30:55.515816 IEEE 802.15.4 Beacon packet v2 Sequence Number Suppression, IE present, seq suppressed abcd:ffff < -:[ERROR: Truncated before dst_addr]

tests/NHRP-responder-address.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
1 07:30:12.301691 IP (tos 0xc0, ttl 255, id 10041, offset 0, flags [none], proto GRE (47), length 136)
1+
1 2015-01-27 07:30:12.301691 IP (tos 0xc0, ttl 255, id 10041, offset 0, flags [none], proto GRE (47), length 136)
22
155.1.79.2 > 6.6.6.6: GREv0, Flags [key present], key=0x2, length 116
33
NHRP: reg request, id 300, hopcnt 255, src nbma 155.1.79.2, 155.1.0.9 -> 155.1.0.6 (code 0, pl 32, mtu 17912, htime 7200, pref 0)
4-
2 07:30:12.304575 IP (tos 0xc0, ttl 254, id 19697, offset 0, flags [none], proto GRE (47), length 156)
4+
2 2015-01-27 07:30:12.304575 IP (tos 0xc0, ttl 254, id 19697, offset 0, flags [none], proto GRE (47), length 156)
55
6.6.6.6 > 155.1.79.2: GREv0, Flags [key present], key=0x2, length 136
66
NHRP: reg reply, id 300, hopcnt 255, src nbma 155.1.79.2, 155.1.0.9 -> 155.1.0.6 (code 0, pl 32, mtu 17912, htime 7200, pref 0)

tests/NHRP_registration.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
1 08:21:45.190210 IP (tos 0xc0, ttl 255, id 16, offset 0, flags [none], proto GRE (47), length 136)
1+
1 2015-01-25 08:21:45.190210 IP (tos 0xc0, ttl 255, id 16, offset 0, flags [none], proto GRE (47), length 136)
22
169.254.100.1 > 169.254.100.5: GREv0, Flags [key present], key=0x2, length 116
33
NHRP: reg request, id 1, hopcnt 255, src nbma 169.254.100.1, 155.1.0.1 -> 155.1.0.5 (code 0, pl 32, mtu 17912, htime 7200, pref 0)
4-
2 08:21:45.192105 IP (tos 0xc0, ttl 255, id 16, offset 0, flags [none], proto GRE (47), length 156)
4+
2 2015-01-25 08:21:45.192105 IP (tos 0xc0, ttl 255, id 16, offset 0, flags [none], proto GRE (47), length 156)
55
169.254.100.5 > 169.254.100.1: GREv0, Flags [key present], key=0x2, length 136
66
NHRP: reg reply, id 1, hopcnt 255, src nbma 169.254.100.1, 155.1.0.1 -> 155.1.0.5 (code 0, pl 32, mtu 17912, htime 7200, pref 0)
7-
3 08:21:46.188858 IP (tos 0xc0, ttl 255, id 17, offset 0, flags [none], proto GRE (47), length 136)
7+
3 2015-01-25 08:21:46.188858 IP (tos 0xc0, ttl 255, id 17, offset 0, flags [none], proto GRE (47), length 136)
88
169.254.100.1 > 169.254.100.5: GREv0, Flags [key present], key=0x2, length 116
99
NHRP: reg request, id 2, hopcnt 255, src nbma 169.254.100.1, 155.1.0.1 -> 155.1.0.5 (code 0, pl 32, mtu 17912, htime 7200, pref 0)
10-
4 08:21:46.189213 IP (tos 0xc0, ttl 255, id 17, offset 0, flags [none], proto GRE (47), length 156)
10+
4 2015-01-25 08:21:46.189213 IP (tos 0xc0, ttl 255, id 17, offset 0, flags [none], proto GRE (47), length 156)
1111
169.254.100.5 > 169.254.100.1: GREv0, Flags [key present], key=0x2, length 136
1212
NHRP: reg reply, id 2, hopcnt 255, src nbma 169.254.100.1, 155.1.0.1 -> 155.1.0.5 (code 0, pl 32, mtu 17912, htime 7200, pref 0)

tests/OLSRv1_HNA_sgw_1.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1 12:13:10.538099 IP (tos 0x10, ttl 1, id 25245, offset 0, flags [DF], proto UDP (17), length 100)
1+
1 2015-04-24 12:13:10.538099 IP (tos 0x10, ttl 1, id 25245, offset 0, flags [DF], proto UDP (17), length 100)
22
172.29.175.220.698 > 255.255.255.255.698: OLSRv4, seq 0xce93, length 72
33
HNA Message (0x04), originator 172.31.175.220, ttl 255, hop 0
44
vtime 288.000s, msg-seq 0x6ce5, length 28

tests/QinQpacket.out

Lines changed: 249 additions & 249 deletions
Large diffs are not rendered by default.

tests/QinQpacketv.out

Lines changed: 249 additions & 249 deletions
Large diffs are not rendered by default.

tests/TESTLIST

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ print-sampling print-flags.pcap print-sampling.out --print-sampling=3
2424
# Use "no -t", -t, -tt, -ttt, -tttt, -ttttt options for more code coverage
2525
# in timestamp printing functions
2626
# micro outputs with -q
27-
tcp-handshake-micro tcp-handshake-nano.pcap tcp-handshake-micro.out -q
28-
tcp-handshake-micro-t tcp-handshake-nano.pcap tcp-handshake-micro-t.out -t -q
29-
tcp-handshake-micro-tt tcp-handshake-nano.pcap tcp-handshake-micro-tt.out -tt -q
30-
tcp-handshake-micro-ttt tcp-handshake-nano.pcap tcp-handshake-micro-ttt.out -ttt -q
31-
tcp-handshake-micro-tttt tcp-handshake-nano.pcap tcp-handshake-micro-tttt.out -tttt -q
32-
tcp-handshake-micro-ttttt tcp-handshake-nano.pcap tcp-handshake-micro-ttttt.out -ttttt -q
27+
tcp-handshake-micro tcp-handshake-nano.pcap tcp-handshake-micro.out -q SPECIAL_t
28+
tcp-handshake-micro-t tcp-handshake-nano.pcap tcp-handshake-micro-t.out -t -q SPECIAL_t
29+
tcp-handshake-micro-tt tcp-handshake-nano.pcap tcp-handshake-micro-tt.out -tt -q SPECIAL_t
30+
tcp-handshake-micro-ttt tcp-handshake-nano.pcap tcp-handshake-micro-ttt.out -ttt -q SPECIAL_t
31+
tcp-handshake-micro-tttt tcp-handshake-nano.pcap tcp-handshake-micro-tttt.out -tttt -q SPECIAL_t
32+
tcp-handshake-micro-ttttt tcp-handshake-nano.pcap tcp-handshake-micro-ttttt.out -ttttt -q SPECIAL_t
3333
# nano outputs with -q
34-
tcp-handshake-nano tcp-handshake-nano.pcap tcp-handshake-nano.out -q --nano
35-
tcp-handshake-nano-t tcp-handshake-nano.pcap tcp-handshake-nano-t.out -t -q --nano
36-
tcp-handshake-nano-tt tcp-handshake-nano.pcap tcp-handshake-nano-tt.out -tt -q --nano
37-
tcp-handshake-nano-ttt tcp-handshake-nano.pcap tcp-handshake-nano-ttt.out -ttt -q --nano
38-
tcp-handshake-nano-tttt tcp-handshake-nano.pcap tcp-handshake-nano-tttt.out -tttt -q --nano
39-
tcp-handshake-nano-ttttt tcp-handshake-nano.pcap tcp-handshake-nano-ttttt.out -ttttt -q --nano
34+
tcp-handshake-nano tcp-handshake-nano.pcap tcp-handshake-nano.out -q --nano SPECIAL_t
35+
tcp-handshake-nano-t tcp-handshake-nano.pcap tcp-handshake-nano-t.out -t -q --nano SPECIAL_t
36+
tcp-handshake-nano-tt tcp-handshake-nano.pcap tcp-handshake-nano-tt.out -tt -q --nano SPECIAL_t
37+
tcp-handshake-nano-ttt tcp-handshake-nano.pcap tcp-handshake-nano-ttt.out -ttt -q --nano SPECIAL_t
38+
tcp-handshake-nano-tttt tcp-handshake-nano.pcap tcp-handshake-nano-tttt.out -tttt -q --nano SPECIAL_t
39+
tcp-handshake-nano-ttttt tcp-handshake-nano.pcap tcp-handshake-nano-ttttt.out -ttttt -q --nano SPECIAL_t
4040

4141
# TCP with data in the RST segment
4242
tcp_rst_data tcp_rst_data.pcap tcp_rst_data.out -v

0 commit comments

Comments
 (0)