diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-08 17:28:58 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-08 17:28:58 +0100 |
commit | eff5630ec0944b9fe10a50be7f236ac714807be7 (patch) | |
tree | 54f9845969bb11c80037c883f2b2ce7b89a677ac /tests/testsuites/parse3.conf | |
parent | e1584b71f316b9ef2db58c8dbd2218f0b38962e7 (diff) | |
download | rsyslog-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/parse3.conf')
-rw-r--r-- | tests/testsuites/parse3.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/parse3.conf b/tests/testsuites/parse3.conf new file mode 100644 index 00000000..d5cf77d9 --- /dev/null +++ b/tests/testsuites/parse3.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 |