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-tls-basic-vg.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-tls-basic-vg.sh')
-rwxr-xr-x | tests/imtcp-tls-basic-vg.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/imtcp-tls-basic-vg.sh b/tests/imtcp-tls-basic-vg.sh new file mode 100755 index 00000000..960a14d1 --- /dev/null +++ b/tests/imtcp-tls-basic-vg.sh @@ -0,0 +1,15 @@ +# added 2011-02-28 by Rgerhards +# This file is part of the rsyslog project, released under GPLv3 +echo =============================================================================== +echo \[imtcp-tls-basic-vg.sh\]: testing imtcp in TLS mode - basic test +source $srcdir/diag.sh init +echo \$DefaultNetstreamDriverCAFile $srcdir/tls-certs/ca.pem >rsyslog.conf.tlscert +echo \$DefaultNetstreamDriverCertFile $srcdir/tls-certs/cert.pem >>rsyslog.conf.tlscert +echo \$DefaultNetstreamDriverKeyFile $srcdir/tls-certs/key.pem >>rsyslog.conf.tlscert +source $srcdir/diag.sh startup-vg imtcp-tls-basic.conf +source $srcdir/diag.sh tcpflood -p13514 -m50000 -Ttls -Z$srcdir/tls-certs/cert.pem -z$srcdir/tls-certs/key.pem +source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages +source $srcdir/diag.sh wait-shutdown-vg +source $srcdir/diag.sh check-exit-vg +source $srcdir/diag.sh seq-check 0 49999 +source $srcdir/diag.sh exit |