rsyslog/tests/testsuites/sndrcv_rcvr.conf
Rainer Gerhards 22bf4fc832 somewhat enhanced test suite
also prepared test case for TLS testing, but not activated it
inside the build itself.
A note on TLS testing: the current testsuite (in git!) already contains
TLS test cases. However, getting these test cases correct is not simple.
That's not a problem with the code itself, but rater a problem with
synchronization in the test environment. So I have deciced to keep the
TLS tests in, but not yet actually utilize them. This is most probably
left as an excercise for future (devel) releases.
2009-11-11 14:12:09 +01:00

12 lines
361 B
Plaintext

# see equally-named shell file for details
# rgerhards, 2009-11-11
$IncludeConfig diag-common.conf
$ModLoad ../plugins/imtcp/.libs/imtcp
# then SENDER sends to this port (not tcpflood!)
$InputTCPServerRun 13515
$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
:msg, contains, "msgnum:" ?dynfile;outfmt