diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-11 12:06:02 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-11 12:06:02 +0100 |
commit | a9cf6e0e92184bc26e5d967f23b8803091b69e6a (patch) | |
tree | ebdd327e858407d9c2e0d12e99b27efed83712a2 /tests/testsuites | |
parent | 7077420d58a56a29995e7930bd7943bb7f9b5bdf (diff) | |
download | rsyslog-a9cf6e0e92184bc26e5d967f23b8803091b69e6a.tar.gz rsyslog-a9cf6e0e92184bc26e5d967f23b8803091b69e6a.tar.xz rsyslog-a9cf6e0e92184bc26e5d967f23b8803091b69e6a.zip |
testbench improvement: gzip-plain-tcp mode is now being tested
... also improved two-instance test mechanism, now have a generic
approach.
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/tcpsndrcv_gzip_rcvr.conf | 11 | ||||
-rw-r--r-- | tests/testsuites/tcpsndrcv_gzip_sender.conf | 8 | ||||
-rw-r--r-- | tests/testsuites/tcpsndrcv_rcvr.conf | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/tests/testsuites/tcpsndrcv_gzip_rcvr.conf b/tests/testsuites/tcpsndrcv_gzip_rcvr.conf new file mode 100644 index 00000000..6f7ce34b --- /dev/null +++ b/tests/testsuites/tcpsndrcv_gzip_rcvr.conf @@ -0,0 +1,11 @@ +# 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 diff --git a/tests/testsuites/tcpsndrcv_gzip_sender.conf b/tests/testsuites/tcpsndrcv_gzip_sender.conf new file mode 100644 index 00000000..c874c068 --- /dev/null +++ b/tests/testsuites/tcpsndrcv_gzip_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 diff --git a/tests/testsuites/tcpsndrcv_rcvr.conf b/tests/testsuites/tcpsndrcv_rcvr.conf index 6bfb97b3..6f7ce34b 100644 --- a/tests/testsuites/tcpsndrcv_rcvr.conf +++ b/tests/testsuites/tcpsndrcv_rcvr.conf @@ -1,4 +1,4 @@ -# see tcpsndrcv.h for details +# see equally-named shell file for details # rgerhards, 2009-11-11 $IncludeConfig diag-common.conf |