summaryrefslogtreecommitdiff
path: root/tests/syslog-v.out
Commit message (Collapse)AuthorAgeFilesLines
* Use UTC/GMT time when building/checking tests filesFrancois-Xavier Le Bail2018-08-091-4/+4
| | | | | | | | | | | | | 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.
* Remove the safeputchar() functionFrancois-Xavier Le Bail2018-05-021-2/+2
| | | | | | Print the characters filtering out non-printable with fn_print_char(). Update the output of some tests accordingly.
* fix parsing of syslog priority (GH #264)Bram2013-09-121-2/+2
| | | | | | | | | | | | | | | | | ...the code * first looks for '<' and advances to the next character, * it looks for a number between 0 and 9 and advances to the next character, (it finds 7) * it looks for '>' and advances to the next character, * it looks for a number between 0 and 9 and advances to the next character, (it finds the '2' of '2010') => result: prio is 72 instead of 7. The code that checks if the character is '>' should be outside the loop that checks if the character is a number. The attached patch moves this check.
* add a test case for syslog over UDPDenis Ovsienko2013-09-121-0/+16
The new capture contains two datagrams produced by logger utility (syslog default timestamp format) and two datagrams produced by rsyslog (RFC3339 timestamp format). One of the rsyslog datagrams has priority consisting of two figures and the other -- of one figure.