summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-06 16:09:17 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-06 16:09:17 +0100
commit36899ac8c40e78767ba58e440167a76dd4a73db1 (patch)
treedbaa9d503788d5f4ab8280eae8ea7e4bece6bc82 /tests/testsuites
parent4d55e2481f51b59fff9a32f9392bb3e74da9789a (diff)
downloadrsyslog-36899ac8c40e78767ba58e440167a76dd4a73db1.tar.gz
rsyslog-36899ac8c40e78767ba58e440167a76dd4a73db1.tar.xz
rsyslog-36899ac8c40e78767ba58e440167a76dd4a73db1.zip
added new test to check RepeatedMsgReduction (via TCP)
This is kind of a backport of a similar UDP-based test from v6. However, we do not have everything required for UDP in the v5 test tool base, so we mimic the test with tcp -- which is not bad at all, because the code path for TCP is somewhat different (and thus once we merge this patch into v6, it is a useful addition).
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/tcp-msgreduc-vg.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testsuites/tcp-msgreduc-vg.conf b/tests/testsuites/tcp-msgreduc-vg.conf
new file mode 100644
index 00000000..72420f04
--- /dev/null
+++ b/tests/testsuites/tcp-msgreduc-vg.conf
@@ -0,0 +1,10 @@
+# Test for queue disk mode (see .sh file for details)
+# rgerhards, 2009-05-22
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imtcp/.libs/imtcp
+$InputTCPServerRun 13514
+$RepeatedMsgReduction on
+
+$template outfmt,"%msg:F,58:2%\n"
+*.* ./rsyslog.out.log;outfmt