summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/parse_invld_regex.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-08 18:35:27 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-08 18:35:27 +0100
commitb5e44445f9b0ac229b7802a46df33d0f2c4a2cd8 (patch)
treeb02cf55eb565ba8f88108d3d79bedf62305331f9 /tests/testsuites/parse_invld_regex.conf
parenteff5630ec0944b9fe10a50be7f236ac714807be7 (diff)
downloadrsyslog-b5e44445f9b0ac229b7802a46df33d0f2c4a2cd8.tar.gz
rsyslog-b5e44445f9b0ac229b7802a46df33d0f2c4a2cd8.tar.xz
rsyslog-b5e44445f9b0ac229b7802a46df33d0f2c4a2cd8.zip
added one more test to testbench
Diffstat (limited to 'tests/testsuites/parse_invld_regex.conf')
-rw-r--r--tests/testsuites/parse_invld_regex.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/parse_invld_regex.conf b/tests/testsuites/parse_invld_regex.conf
new file mode 100644
index 00000000..736aae59
--- /dev/null
+++ b/tests/testsuites/parse_invld_regex.conf
@@ -0,0 +1,8 @@
+$ModLoad ../plugins/omstdout/.libs/omstdout
+$IncludeConfig nettest.input.conf # This picks the to be tested input from the test driver!
+
+$ErrorMessagesToStderr off
+
+# use a special format that we can easily parse in expect
+$Template output,"%timereported:1:$:date-rfc3339,csv%, %hostname:::csv%, %programname:::csv%, %syslogtag:R,ERE,0,BLANK:[0-9+--end:csv%, %syslogseverity:::csv%, %msg:::drop-last-lf,csv%\n"
+*.* :omstdout:;output