summaryrefslogtreecommitdiffstats
path: root/tests/testruns/rfc5424-2.parse1
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-03-26 17:48:59 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-03-26 17:48:59 +0100
commit0be199af6cc2cd9a9acb96e97e1cd061affaa6d9 (patch)
tree90366ffc1e2cb918eab2e6659581b1f5024db87e /tests/testruns/rfc5424-2.parse1
parent5103c912eeb8c0d410f641a971d3687a02c8c02b (diff)
downloadrsyslog-0be199af6cc2cd9a9acb96e97e1cd061affaa6d9.tar.gz
rsyslog-0be199af6cc2cd9a9acb96e97e1cd061affaa6d9.tar.xz
rsyslog-0be199af6cc2cd9a9acb96e97e1cd061affaa6d9.zip
initial parser testing suite added
integrated tcl test script into autotools make check, created a few test cases based a real-world sample and samples from RFC3164 and 5424.
Diffstat (limited to 'tests/testruns/rfc5424-2.parse1')
-rw-r--r--tests/testruns/rfc5424-2.parse14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testruns/rfc5424-2.parse1 b/tests/testruns/rfc5424-2.parse1
new file mode 100644
index 00000000..a86fbc35
--- /dev/null
+++ b/tests/testruns/rfc5424-2.parse1
@@ -0,0 +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.
+#Example from RFC5424, section 6.5 / sample 2
+#Only the first two lines are important, you may place anything behind them!