diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-06-10 20:31:23 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-06-10 20:31:23 +0200 |
commit | cca47caf92eaea4ae57cc9b016d9b458157447ce (patch) | |
tree | 5a919463825d9cf684ddbf2ba14d20912faacaa7 /tests/imtcp_conndrop_tls.sh | |
parent | 517d3500a388699a957a92480b0537dc0510d9d1 (diff) | |
download | rsyslog-cca47caf92eaea4ae57cc9b016d9b458157447ce.tar.gz rsyslog-cca47caf92eaea4ae57cc9b016d9b458157447ce.tar.bz2 rsyslog-cca47caf92eaea4ae57cc9b016d9b458157447ce.zip |
added some more tls-based tests to testbench
Diffstat (limited to 'tests/imtcp_conndrop_tls.sh')
-rwxr-xr-x | tests/imtcp_conndrop_tls.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/imtcp_conndrop_tls.sh b/tests/imtcp_conndrop_tls.sh new file mode 100755 index 00000000..31a3477a --- /dev/null +++ b/tests/imtcp_conndrop_tls.sh @@ -0,0 +1,16 @@ +# Test imtcp/TLS with many dropping connections +# added 2011-06-09 by Rgerhards +# +# This file is part of the rsyslog project, released under GPLv3 +echo ==================================================================================== +echo TEST: \[imtcp_conndrop_tls.sh\]: test imtcp/tls with random connection drops +cat rsyslog.action.1.include +source $srcdir/diag.sh init +source $srcdir/diag.sh startup imtcp_conndrop.conf +# 100 byte messages to gain more practical data use +source $srcdir/diag.sh tcpflood -c20 -m50000 -r -d100 -P129 -D +sleep 10 # due to large messages, we need this time for the tcp receiver to settle... +source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages +source $srcdir/diag.sh wait-shutdown # and wait for it to terminate +source $srcdir/diag.sh seq-check 0 49999 -E +source $srcdir/diag.sh exit |