summaryrefslogtreecommitdiffstats
path: root/tests/imtcp-tls-basic.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-04 14:58:51 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-04 14:58:51 +0100
commit062c1ffbdce422c0df3b5314d25d935f1bd2a9e1 (patch)
tree4aacc6da01a86dbea578e9e54bea8db76e3bd6a4 /tests/imtcp-tls-basic.sh
parent75a585a7e26d4d6cf59157cf62584c139af1527c (diff)
parent9be853a2c8d0fd7fdc415200af57493ad5a00feb (diff)
downloadrsyslog-062c1ffbdce422c0df3b5314d25d935f1bd2a9e1.tar.gz
rsyslog-062c1ffbdce422c0df3b5314d25d935f1bd2a9e1.tar.bz2
rsyslog-062c1ffbdce422c0df3b5314d25d935f1bd2a9e1.zip
Merge branch 'master-tcpsrv-mt'v6.1.5
Conflicts: ChangeLog
Diffstat (limited to 'tests/imtcp-tls-basic.sh')
-rwxr-xr-xtests/imtcp-tls-basic.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/imtcp-tls-basic.sh b/tests/imtcp-tls-basic.sh
new file mode 100755
index 00000000..d00f95d6
--- /dev/null
+++ b/tests/imtcp-tls-basic.sh
@@ -0,0 +1,11 @@
+# added 2011-02-28 by Rgerhards
+# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
+echo \[imtcp-tls-basic.sh\]: testing imtcp in TLS mode - basic test
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup imtcp-tls-basic.conf
+source $srcdir/diag.sh tcpflood -p13514 -m50000 -Ttls -Z./tls-certs/cert.pem -z./tls-certs/key.pem
+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 49999
+source $srcdir/diag.sh exit