summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/reallife.parse3
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-08 17:28:58 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-08 17:28:58 +0100
commiteff5630ec0944b9fe10a50be7f236ac714807be7 (patch)
tree54f9845969bb11c80037c883f2b2ce7b89a677ac /tests/testsuites/reallife.parse3
parente1584b71f316b9ef2db58c8dbd2218f0b38962e7 (diff)
downloadrsyslog-eff5630ec0944b9fe10a50be7f236ac714807be7.tar.gz
rsyslog-eff5630ec0944b9fe10a50be7f236ac714807be7.tar.xz
rsyslog-eff5630ec0944b9fe10a50be7f236ac714807be7.zip
enhanced test suite
now CSV and regex extraction are being tested (would have caught the bug fixed with the last commit).
Diffstat (limited to 'tests/testsuites/reallife.parse3')
-rw-r--r--tests/testsuites/reallife.parse315
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testsuites/reallife.parse3 b/tests/testsuites/reallife.parse3
new file mode 100644
index 00000000..465635bd
--- /dev/null
+++ b/tests/testsuites/reallife.parse3
@@ -0,0 +1,15 @@
+# New tests should be added to this file if there is no specific
+# reason for not doing that. Initially, we could only handle one test
+# case per file, but this restriction has been removed some time ago.
+# So it is less troublesome (and easier to overlook) to have all related
+# tests in a single file.
+# This file contains a lot of real-life samples (of course mangled so
+# that they can not be traced back to the original submitter). Note
+# that IP addr 192.0.2.1 is specifically set aside for testing and
+# documentation by IANA.
+# rgerhards, 2009-10-19
+<175>Oct 16 2009 23:47:31 hostname tag This is a message
+"2009-10-16T23:47:31+01:00", "hostname", "tag", "", "7", " This is a message"
+#
+<175>Oct 16 2009 23:47:31 hostname tag[1234] This is a message
+"2009-10-16T23:47:31+01:00", "hostname", "tag", "1234", "7", " This is a message"