summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-19 14:54:41 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-19 14:54:41 +0100
commitacebcd793e4898b524a9ea13b96c491aee4d67e2 (patch)
treea8e5c28939688a11d83b0c554cf46020926b8d01 /tests/testsuites
parent200e2b66308fb0ca861b5ba72d2b408b7f24aac3 (diff)
downloadrsyslog-acebcd793e4898b524a9ea13b96c491aee4d67e2.tar.gz
rsyslog-acebcd793e4898b524a9ea13b96c491aee4d67e2.tar.xz
rsyslog-acebcd793e4898b524a9ea13b96c491aee4d67e2.zip
added additional test case (based on real-life problem)
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/mark.parse17
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuites/mark.parse1 b/tests/testsuites/mark.parse1
new file mode 100644
index 00000000..fff9ae6d
--- /dev/null
+++ b/tests/testsuites/mark.parse1
@@ -0,0 +1,7 @@
+#This is a malformed message, but one from real life. At least,
+#it should be parsed as can be seen here.
+<6>Feb 18 16:01:59 serverX -- MARK --
+6,kern,info,Feb 18 16:01:59,serverX,--,--, MARK --
+# and the next one as an extreme case (note the absence of PRI)
+Feb 18 16:01:59 serverX -- MARK --
+13,user,notice,Feb 18 16:01:59,serverX,--,--, MARK --