rsyslog/tests/testsuites/tcp-msgreduc-vg.conf
Rainer Gerhards 36899ac8c4 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).
2011-03-06 16:09:17 +01:00

11 lines
264 B
Plaintext

# 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