summaryrefslogtreecommitdiff
path: root/tests/global_vars.sh
blob: 5c6c579e6aad97501b21f088c1e01b46fc98691b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test for global variables
# added 2013-11-18 by rgerhards
# This file is part of the rsyslog project, released  under ASL 2.0
echo ===============================================================================
echo \[global_vars.sh\]: testing global variable support
source $srcdir/diag.sh init
source $srcdir/diag.sh startup global_vars.conf

# 40000 messages should be enough
source $srcdir/diag.sh injectmsg  0 40000

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 39999
source $srcdir/diag.sh exit