diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-06-14 12:18:39 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-06-14 12:18:39 +0200 |
commit | f50f24a7750bc3ad66b339ed3fcc0fdc544a1e15 (patch) | |
tree | 3f6b63c4ef85a61bc26e3cfd6ad87761fc3e193e /tests/manytcp-too-few-tls.sh | |
parent | d5906846156e49cad90736b949712fe17eb8edba (diff) | |
download | rsyslog-f50f24a7750bc3ad66b339ed3fcc0fdc544a1e15.tar.gz rsyslog-f50f24a7750bc3ad66b339ed3fcc0fdc544a1e15.tar.xz rsyslog-f50f24a7750bc3ad66b339ed3fcc0fdc544a1e15.zip |
backporting TLS-based test
Diffstat (limited to 'tests/manytcp-too-few-tls.sh')
-rwxr-xr-x | tests/manytcp-too-few-tls.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/manytcp-too-few-tls.sh b/tests/manytcp-too-few-tls.sh new file mode 100755 index 00000000..899a87dc --- /dev/null +++ b/tests/manytcp-too-few-tls.sh @@ -0,0 +1,15 @@ +# test many concurrent tcp connections +echo \[manytcp-too-few-tls.sh\]: test concurrent tcp connections +source $srcdir/diag.sh init +source $srcdir/diag.sh startup-vg manytcp-too-few-tls.conf +echo wait for DH param generation -- NOT needed in v6! +sleep 15 +# 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-vg # we need to wait until rsyslogd is finished! +source $srcdir/diag.sh check-exit-vg +source $srcdir/diag.sh seq-check 0 39999 +source $srcdir/diag.sh exit |