diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-22 14:31:53 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-22 14:31:53 +0200 |
commit | 73e4b2edc8c4bea373c796c7146d9fb78c48b185 (patch) | |
tree | dad8fb613d34b143855a56cdcc6c146412cc19f3 | |
parent | cb65e72f1e7f1b9f1a6207b4f7e21adbbf0f99ad (diff) | |
download | rsyslog-73e4b2edc8c4bea373c796c7146d9fb78c48b185.tar.gz rsyslog-73e4b2edc8c4bea373c796c7146d9fb78c48b185.tar.xz rsyslog-73e4b2edc8c4bea373c796c7146d9fb78c48b185.zip |
added forgotten testbench file
-rwxr-xr-x | tests/manyptcp.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/manyptcp.sh b/tests/manyptcp.sh new file mode 100755 index 00000000..3ed5493b --- /dev/null +++ b/tests/manyptcp.sh @@ -0,0 +1,13 @@ +# test many concurrent tcp connections +echo ==================================================================================== +echo TEST: \[manyptcp.sh\]: test imptcp with large connection count +source $srcdir/diag.sh init +source $srcdir/diag.sh startup manyptcp.conf +# the config file specifies exactly 1100 connections +source $srcdir/diag.sh tcpflood -c1000 -m40000 +# the sleep below is needed to prevent too-early termination of the tcp listener +sleep 1 +source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages +source $srcdir/diag.sh wait-shutdown # we need to wait until rsyslogd is finished! +source $srcdir/diag.sh seq-check 0 39999 +source $srcdir/diag.sh exit |