summaryrefslogtreecommitdiffstats
path: root/tests/imtcp-multiport.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-10 11:07:26 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-10 11:07:26 +0100
commit4408d4137acfacef57bd2e088a0da83d25e34918 (patch)
tree705c34ee7b023ffb4a4795918acd2c0618f7cb29 /tests/imtcp-multiport.sh
parentee8bf6d6873b79a5b1ed5a2aae08adf0d4827ff3 (diff)
downloadrsyslog-4408d4137acfacef57bd2e088a0da83d25e34918.tar.gz
rsyslog-4408d4137acfacef57bd2e088a0da83d25e34918.tar.xz
rsyslog-4408d4137acfacef57bd2e088a0da83d25e34918.zip
testbench: new calling interface for tcpflood
this is a perquisite to support more flexible testing modes, which could not intelligently be implemented with the old interface
Diffstat (limited to 'tests/imtcp-multiport.sh')
-rwxr-xr-xtests/imtcp-multiport.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/imtcp-multiport.sh b/tests/imtcp-multiport.sh
index 47a33cb9..ad2b44f8 100755
--- a/tests/imtcp-multiport.sh
+++ b/tests/imtcp-multiport.sh
@@ -11,7 +11,7 @@ echo ===========================================================================
echo \[imtcp-multiport.sh\]: testing imtcp multiple listeners
source $srcdir/diag.sh init
source $srcdir/diag.sh startup imtcp-multiport.conf
-source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 10000
+source $srcdir/diag.sh tcpflood -p13514 -m10000
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh seq-check 0 9999
@@ -23,7 +23,7 @@ source $srcdir/diag.sh exit
#
source $srcdir/diag.sh init
source $srcdir/diag.sh startup imtcp-multiport.conf
-source $srcdir/diag.sh tcpflood 127.0.0.1 13515 1 10000
+source $srcdir/diag.sh tcpflood -p13515 -m10000
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh seq-check 0 9999
@@ -35,7 +35,7 @@ source $srcdir/diag.sh exit
#
source $srcdir/diag.sh init
source $srcdir/diag.sh startup imtcp-multiport.conf
-source $srcdir/diag.sh tcpflood 127.0.0.1 13516 1 10000
+source $srcdir/diag.sh tcpflood -p13516 -m10000
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh seq-check 0 9999