summaryrefslogtreecommitdiffstats
path: root/tests/manytcp.sh
blob: 01f3e43bd220613175f900c0fdb718287de45597 (plain)
1
2
3
4
5
6
7
8
9
# test many concurrent tcp connections
source $srcdir/diag.sh init
source $srcdir/diag.sh startup manytcp.conf
# the config file specifies exactly 1100 connections
source $srcdir/diag.sh tcpflood -c1000 -m40000
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