diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-29 14:31:14 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-29 14:31:14 +0200 |
commit | 5bfa8d2a254e0ead0608b954bdab6dd2a7d9f3e0 (patch) | |
tree | caf07576686f0701148955bc3190fa8c5d6696ac /tests | |
parent | 0fb11a5a11e3dcb389d6139e24b0d8aa72164dd6 (diff) | |
download | rsyslog-5bfa8d2a254e0ead0608b954bdab6dd2a7d9f3e0.tar.gz rsyslog-5bfa8d2a254e0ead0608b954bdab6dd2a7d9f3e0.tar.bz2 rsyslog-5bfa8d2a254e0ead0608b954bdab6dd2a7d9f3e0.zip |
testbench samples incorrect, correctedv5.7.10
this was due to the old RFC5424 parser being considered correct,
what it was not. As such, the samples generated from it were
incorrect as well. Now with the corrected parsers, the tests failed.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testsuites/rfc5424-1.parse1 | 2 | ||||
-rw-r--r-- | tests/testsuites/rfc5424-2.parse1 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testsuites/rfc5424-1.parse1 b/tests/testsuites/rfc5424-1.parse1 index 23836c9f..8a66d7ba 100644 --- a/tests/testsuites/rfc5424-1.parse1 +++ b/tests/testsuites/rfc5424-1.parse1 @@ -1,3 +1,3 @@ #Example from RFC5424, section 6.5 / sample 1 <34>1 2003-10-11T22:14:15.003Z mymachine.example.com su - ID47 - BOM'su root' failed for lonvick on /dev/pts/8 -34,auth,crit,Oct 11 22:14:15,mymachine.example.com,,su,- BOM'su root' failed for lonvick on /dev/pts/8 +34,auth,crit,Oct 11 22:14:15,mymachine.example.com,,su,BOM'su root' failed for lonvick on /dev/pts/8 diff --git a/tests/testsuites/rfc5424-2.parse1 b/tests/testsuites/rfc5424-2.parse1 index a86fbc35..f5449e68 100644 --- a/tests/testsuites/rfc5424-2.parse1 +++ b/tests/testsuites/rfc5424-2.parse1 @@ -1,4 +1,4 @@ <165>1 2003-08-24T05:14:15.000003-07:00 192.0.2.1 myproc 8710 - - %% It's time to make the do-nuts. -165,local4,notice,Aug 24 05:14:15,192.0.2.1,,myproc[8710],- %% It's time to make the do-nuts. +165,local4,notice,Aug 24 05:14:15,192.0.2.1,,myproc[8710],%% It's time to make the do-nuts. #Example from RFC5424, section 6.5 / sample 2 #Only the first two lines are important, you may place anything behind them! |