rsyslog/tests/discard-rptdmsg.sh
Rainer Gerhards 1a08758653 further improved testbench
some cosmetic issues, plus a new valgrind-based test
2011-03-08 18:58:28 +01:00

11 lines
536 B
Bash
Executable File

# This file is part of the rsyslog project, released under GPLv3
echo ===============================================================================
echo \[discard-rptdmsg.sh\]: testing discard-rptdmsg functionality
source $srcdir/diag.sh init
source $srcdir/diag.sh startup discard-rptdmsg.conf
source $srcdir/diag.sh tcpflood -m10 -i1
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 2 10
source $srcdir/diag.sh exit