diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-17 17:53:33 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-17 17:53:33 +0200 |
commit | 1fb5cee04dfd4d40e64e26a0c622640781cd06f7 (patch) | |
tree | 542c9dbae18f815a2851b87bc9b78143a219eed6 /tests/testsuites | |
parent | 889a0a1da8b2fb74b04647a345f64fce6c36708f (diff) | |
download | rsyslog-1fb5cee04dfd4d40e64e26a0c622640781cd06f7.tar.gz rsyslog-1fb5cee04dfd4d40e64e26a0c622640781cd06f7.tar.xz rsyslog-1fb5cee04dfd4d40e64e26a0c622640781cd06f7.zip |
improved testbench - added tests for queue disk-only mode
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/diskqueue.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/testsuites/diskqueue.conf b/tests/testsuites/diskqueue.conf new file mode 100644 index 00000000..8851a459 --- /dev/null +++ b/tests/testsuites/diskqueue.conf @@ -0,0 +1,16 @@ +# Test for queue disk mode (see .sh file for details) +# rgerhards, 2009-04-17 +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 10000 +$InputTCPServerRun 13514 + +$ErrorMessagesToStderr off + +# set spool locations and switch queue to disk-only mode +$WorkDirectory test-spool +$MainMsgQueueFilename mainq +$MainMsgQueueType disk + +$template outfmt,"%msg:F,58:2%\n" +$template dynfile,"rsyslog.out.log" # trick to use relative path names! +:msg, contains, "msgnum:" ?dynfile;outfmt |