summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/rfc5424-4.parse1
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-03 17:54:09 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-03 17:54:09 +0200
commitce6b7e86cdd63ba1540d20aa22403d2b13d2e59f (patch)
tree3d712651f8ffcc2b5e67709e0e4916de8cd77668 /tests/testsuites/rfc5424-4.parse1
parent9103817f9fe811b49938036a1f9ff23672a9ec44 (diff)
downloadrsyslog-ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f.tar.gz
rsyslog-ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f.tar.xz
rsyslog-ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f.zip
improved test suite and added test for new output module interface
The testbench has now a generic driver that can run a whole class of test suites just by providing a config file and test cases. This does not cover all testing needs, but a lot. We have now added one test for the new array-passing output plugin interface.
Diffstat (limited to 'tests/testsuites/rfc5424-4.parse1')
-rw-r--r--tests/testsuites/rfc5424-4.parse14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testsuites/rfc5424-4.parse1 b/tests/testsuites/rfc5424-4.parse1
new file mode 100644
index 00000000..ecf27e14
--- /dev/null
+++ b/tests/testsuites/rfc5424-4.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"] BOMAn application event log entry...
+165,local4,notice,Oct 11 22:14:15,mymachine.example.com,,evntslog,BOMAn application event log entry...
+#Example from RFC5424, section 6.5 / sample 3
+#Only the first two lines are important, you may place anything behind them!