summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-08-10 16:18:21 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-08-10 16:18:21 +0200
commitee4aed1713bb968afa6db992f9e2e6c00d6c9350 (patch)
treea29745c01c25dd05ac40d0b188d5cd12b5ade069 /tests/testsuites
parent55256ac96815d6e13fc9df7206d50ef7dcaca4fe (diff)
downloadrsyslog-ee4aed1713bb968afa6db992f9e2e6c00d6c9350.tar.gz
rsyslog-ee4aed1713bb968afa6db992f9e2e6c00d6c9350.tar.xz
rsyslog-ee4aed1713bb968afa6db992f9e2e6c00d6c9350.zip
added tests for imptcp and fixed some problems with it
it now also works reliably in edge-triggered mode
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/imptcp_large.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/testsuites/imptcp_large.conf b/tests/testsuites/imptcp_large.conf
new file mode 100644
index 00000000..677e33f6
--- /dev/null
+++ b/tests/testsuites/imptcp_large.conf
@@ -0,0 +1,16 @@
+# simple async writing test
+# rgerhards, 2010-03-09
+$MaxMessageSize 10k
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imptcp/.libs/imptcp
+$MainMsgQueueTimeoutShutdown 10000
+$InputPTCPServerRun 13514
+
+$template outfmt,"%msg:F,58:2%,%msg:F,58:3%,%msg:F,58:4%\n"
+$template dynfile,"rsyslog.out.log" # trick to use relative path names!
+$OMFileFlushOnTXEnd off
+$OMFileFlushInterval 2
+$OMFileIOBufferSize 256k
+$IncludeConfig rsyslog.action.1.include
+local0.* ?dynfile;outfmt