summaryrefslogtreecommitdiff
path: root/tests/syslog-v.out
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-08-04 08:46:17 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-08-09 09:23:07 +0200
commit018b2b8c96259348efccbcf14d2480f07892353f (patch)
tree10579cbc41d53ebf96f0de2664c7114c483f1863 /tests/syslog-v.out
parentcf99f0bc838a5f82391a72c1e074781cfacd4cef (diff)
downloadtcpdump-018b2b8c96259348efccbcf14d2480f07892353f.tar.gz
Use UTC/GMT time when building/checking tests files
This will avoid some differences when checking in different time zones. We now run the tests without the '-t' option. This will allow to get problems/changes in time printing functions. Update the output of the tests accordingly. Moreover: Add the '-#' option to better identify a packet when there is a difference in output.
Diffstat (limited to 'tests/syslog-v.out')
-rw-r--r--tests/syslog-v.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/syslog-v.out b/tests/syslog-v.out
index a04e6a99..0d2ac9ba 100644
--- a/tests/syslog-v.out
+++ b/tests/syslog-v.out
@@ -1,16 +1,16 @@
-IP (tos 0x0, ttl 64, id 30929, offset 0, flags [DF], proto UDP (17), length 79)
+ 1 15:16:12.250127 IP (tos 0x0, ttl 64, id 30929, offset 0, flags [DF], proto UDP (17), length 79)
10.0.0.20.47565 > 10.0.0.72.514: SYSLOG, length: 51
Facility kernel (0), Severity notice (5)
Msg: Sep 12 19:16:12 through logger: test message 21^@
-IP (tos 0x0, ttl 64, id 37393, offset 0, flags [DF], proto UDP (17), length 79)
+ 2 15:16:18.713802 IP (tos 0x0, ttl 64, id 37393, offset 0, flags [DF], proto UDP (17), length 79)
10.0.0.20.33884 > 10.0.0.72.514: SYSLOG, length: 51
Facility user (1), Severity alert (1)
Msg: Sep 12 19:16:18 through logger: test message 22^@
-IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 107)
+ 3 15:16:34.458509 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 107)
10.0.0.20.52693 > 10.0.0.71.514: SYSLOG, length: 79
Facility user (1), Severity notice (5)
Msg: 2013-09-12T19:16:34.457849+04:00 localhost through rsyslog: test message 23
-IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 106)
+ 4 15:16:43.513906 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 106)
10.0.0.20.52693 > 10.0.0.71.514: SYSLOG, length: 78
Facility user (1), Severity alert (1)
Msg: 2013-09-12T19:16:43.513746+04:00 localhost through rsyslog: test message 24