diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 17:54:09 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 17:54:09 +0200 |
commit | ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f (patch) | |
tree | 3d712651f8ffcc2b5e67709e0e4916de8cd77668 /tests/testsuites/parse1.conf | |
parent | 9103817f9fe811b49938036a1f9ff23672a9ec44 (diff) | |
download | rsyslog-ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f.tar.gz rsyslog-ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f.tar.xz rsyslog-ce6b7e86cdd63ba1540d20aa22403d2b13d2e59f.zip |
improved test suite and added test for new output module interface
The testbench has now a generic driver that can run a whole class
of test suites just by providing a config file and test cases. This
does not cover all testing needs, but a lot.
We have now added one test for the new array-passing output plugin
interface.
Diffstat (limited to 'tests/testsuites/parse1.conf')
-rw-r--r-- | tests/testsuites/parse1.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testsuites/parse1.conf b/tests/testsuites/parse1.conf new file mode 100644 index 00000000..0fb7d16d --- /dev/null +++ b/tests/testsuites/parse1.conf @@ -0,0 +1,9 @@ +$ModLoad ../plugins/omstdout/.libs/omstdout +$ModLoad ../plugins/imudp/.libs/imudp +$UDPServerRun 12514 + +$ErrorMessagesToStderr off + +# use a special format that we can easily parse in expect +$template expect,"%PRI%,%syslogfacility-text%,%syslogseverity-text%,%timestamp%,%hostname%,%programname%,%syslogtag%,%msg%\n" +*.* :omstdout:;expect |