summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-22 14:06:05 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-22 14:06:05 +0100
commit1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7 (patch)
tree6591abfaa1c701eff6d89b611f4e98d06726ffbe /tests/testsuites
parentdccadb677c5a6b8379f631e4c1f14c8c4089d4a6 (diff)
downloadrsyslog-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.conf14
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