diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-11 11:44:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-11 11:44:24 +0100 |
commit | 7077420d58a56a29995e7930bd7943bb7f9b5bdf (patch) | |
tree | bc3e9ae7abcc4b4a01d9accf8ab8c24922846133 /tests/testsuites | |
parent | b4dd4ef83a51bc91a5861c0dd2809263e60cd05d (diff) | |
download | rsyslog-7077420d58a56a29995e7930bd7943bb7f9b5bdf.tar.gz rsyslog-7077420d58a56a29995e7930bd7943bb7f9b5bdf.tar.xz rsyslog-7077420d58a56a29995e7930bd7943bb7f9b5bdf.zip |
added support for dual-rsyslogd-instance test cases to testbench
... plus a simple initial test of the tcp forwarding capability.
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/tcpsndrcv_rcvr.conf | 11 | ||||
-rw-r--r-- | tests/testsuites/tcpsndrcv_sender.conf | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/testsuites/tcpsndrcv_rcvr.conf b/tests/testsuites/tcpsndrcv_rcvr.conf new file mode 100644 index 00000000..6bfb97b3 --- /dev/null +++ b/tests/testsuites/tcpsndrcv_rcvr.conf @@ -0,0 +1,11 @@ +# see tcpsndrcv.h 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 diff --git a/tests/testsuites/tcpsndrcv_sender.conf b/tests/testsuites/tcpsndrcv_sender.conf new file mode 100644 index 00000000..c874c068 --- /dev/null +++ b/tests/testsuites/tcpsndrcv_sender.conf @@ -0,0 +1,8 @@ +# see tcpsndrcv.sh for details +# rgerhards, 2009-11-11 +$IncludeConfig diag-common2.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$InputTCPServerRun 13514 + +*.* @@127.0.0.1:13515 |