summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-09 15:48:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-09 15:48:32 +0200
commitf094fcb2616127b02999e40442895553c6cfd747 (patch)
tree19896378e82d5c757cade272b77ea104af6aa3ae /tests/testsuites
parent98d1ed504ec001728955a5bcd7916f64cd85f39f (diff)
downloadrsyslog-f094fcb2616127b02999e40442895553c6cfd747.tar.gz
rsyslog-f094fcb2616127b02999e40442895553c6cfd747.tar.xz
rsyslog-f094fcb2616127b02999e40442895553c6cfd747.zip
added one more parser test case
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/malformed1.parse15
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testsuites/malformed1.parse1 b/tests/testsuites/malformed1.parse1
new file mode 100644
index 00000000..2d95170d
--- /dev/null
+++ b/tests/testsuites/malformed1.parse1
@@ -0,0 +1,5 @@
+<131>Oct 8 23:05:06 10.321.1.123 05",result_code=200,b
+131,local0,err,Oct 8 23:05:06,10.321.1.123,05",result_code=200,b,05",result_code=200,b
+# a somewhat mangeld-with real-life sample of a malformed message
+# the key here is not what is being parsed, but that we do not abort!
+# NOTE: if a parser enhancement breaks the format, this is probably OK