diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 14:31:37 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 14:31:37 +0100 |
commit | 6a99be469643ef0214729391f9cef4867b8e9fca (patch) | |
tree | 3ae549560d49a2fa2f7db507f561562f3f6a7594 /tests/testsuites/pipeaction.conf | |
parent | a5cd509be736fcff3c8ae3104712d2fe85776416 (diff) | |
download | rsyslog-6a99be469643ef0214729391f9cef4867b8e9fca.tar.gz rsyslog-6a99be469643ef0214729391f9cef4867b8e9fca.tar.xz rsyslog-6a99be469643ef0214729391f9cef4867b8e9fca.zip |
added pipe action test to testbench & testbench bugfix
Diffstat (limited to 'tests/testsuites/pipeaction.conf')
-rw-r--r-- | tests/testsuites/pipeaction.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/testsuites/pipeaction.conf b/tests/testsuites/pipeaction.conf new file mode 100644 index 00000000..f58b6d65 --- /dev/null +++ b/tests/testsuites/pipeaction.conf @@ -0,0 +1,16 @@ +# Test for pipe output action (see .sh file for details) +# rgerhards, 2009-11-05 +$IncludeConfig diag-common.conf + +$MainMsgQueueTimeoutShutdown 10000 + +# set spool locations and switch queue to disk-only mode +$WorkDirectory test-spool +$MainMsgQueueFilename mainq +$MainMsgQueueType disk + +$template outfmt,"%msg:F,58:2%\n" +# with pipes, we do not need to use absolute path names, so +# we can simply refer to our working pipe via the usual relative +# path name +:msg, contains, "msgnum:" |rsyslog-testbench-fifo;outfmt |