From 1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 22 Mar 2010 14:06:05 +0100 Subject: 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" --- tests/testsuites/dynfile_invalid.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/testsuites/dynfile_invalid.conf (limited to 'tests/testsuites') 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 -- cgit