summaryrefslogtreecommitdiff
path: root/tests/stop-localvar.sh
blob: 9157301313b7baba0b0fb39eee90cb3bf48df2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Test for "stop" statement
# This file is part of the rsyslog project, released  under ASL 2.0
echo ===============================================================================
echo \[stop-localvar.sh\]: testing stop statement together with local variables
source $srcdir/diag.sh init
source $srcdir/diag.sh startup stop-localvar.conf
sleep 1
source $srcdir/diag.sh tcpflood -m2000 -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 100 999
source $srcdir/diag.sh exit