diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-22 14:06:05 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-22 14:06:05 +0100 |
commit | 1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7 (patch) | |
tree | 6591abfaa1c701eff6d89b611f4e98d06726ffbe /tests/testsuites | |
parent | dccadb677c5a6b8379f631e4c1f14c8c4089d4a6 (diff) | |
download | rsyslog-1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7.tar.gz rsyslog-1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7.tar.xz rsyslog-1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7.zip |
added testcase showcasing problems when dynafile can not be opened
note that so far no patch is provided. This has not yet been made
part of "make check"
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/dynfile_invalid.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/testsuites/dynfile_invalid.conf b/tests/testsuites/dynfile_invalid.conf new file mode 100644 index 00000000..458f199b --- /dev/null +++ b/tests/testsuites/dynfile_invalid.conf @@ -0,0 +1,14 @@ +# simple async writing test +# rgerhards, 2010-03-09 +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 10000 +$InputTCPServerRun 13514 + +$template outfmt,"%msg:F,58:3%\n" +$template dynfile,"%msg:F,58:2%.log" # complete name is in message +$OMFileFlushOnTXEnd on +$DynaFileCacheSize 4 +$omfileFlushInterval 1 +local0.* ?dynfile;outfmt |