summaryrefslogtreecommitdiffstats
path: root/tests/testruns/rfc5424-3.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-3.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-3.parse1')
-rw-r--r--tests/testruns/rfc5424-3.parse14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testruns/rfc5424-3.parse1 b/tests/testruns/rfc5424-3.parse1
new file mode 100644
index 00000000..6ad4073d
--- /dev/null
+++ b/tests/testruns/rfc5424-3.parse1
@@ -0,0 +1,4 @@
+<165>1 2003-10-11T22:14:15.003Z mymachine.example.com evntslog - ID47 [exampleSDID@32473 iut="3" eventSource= "Application" eventID="1011"][examplePriority@32473 class="high"]
+165,local4,notice,Oct 11 22:14:15,mymachine.example.com,,evntslog,
+#Example from RFC5424, section 6.5 / sample 4
+#Only the first two lines are important, you may place anything behind them!