summaryrefslogtreecommitdiffstats
path: root/tests/tcpsndrcv.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-11 12:06:02 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-11 12:06:02 +0100
commita9cf6e0e92184bc26e5d967f23b8803091b69e6a (patch)
treeebdd327e858407d9c2e0d12e99b27efed83712a2 /tests/tcpsndrcv.sh
parent7077420d58a56a29995e7930bd7943bb7f9b5bdf (diff)
downloadrsyslog-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/tcpsndrcv.sh')
-rwxr-xr-xtests/tcpsndrcv.sh21
1 files changed, 1 insertions, 20 deletions
diff --git a/tests/tcpsndrcv.sh b/tests/tcpsndrcv.sh
index 69a2d79d..b0a3ee8f 100755
--- a/tests/tcpsndrcv.sh
+++ b/tests/tcpsndrcv.sh
@@ -10,23 +10,4 @@
# uncomment for debugging support:
echo ===============================================================================
echo \[tcpsndrcv.sh\]: testing sending and receiving via tcp
-source $srcdir/diag.sh init
-# start up the instances
-source $srcdir/diag.sh startup tcpsndrcv_sender.conf 2
-source $srcdir/diag.sh startup tcpsndrcv_rcvr.conf
-source $srcdir/diag.sh wait-startup2
-source $srcdir/diag.sh wait-startup
-
-# now inject the messages into instance 2. It will connect to instance 1,
-# and that instance will record the data.
-source $srcdir/diag.sh tcpflood 127.0.0.1 13515 1 50000
-# shut down sender when everything is sent, receiver continues to run concurrently
-source $srcdir/diag.sh shutdown-when-empty 2
-source $srcdir/diag.sh wait-shutdown 2
-# now it is time to stop the receiver as well
-source $srcdir/diag.sh shutdown-when-empty
-source $srcdir/diag.sh wait-shutdown
-
-# do the final check
-source $srcdir/diag.sh seq-check 0 49999
-source $srcdir/diag.sh exit
+source $srcdir/tcpsndrcv_drvr.sh tcpsndrcv 50000