summaryrefslogtreecommitdiff
path: root/tests/incltest.sh
blob: 8e3fe454be3dd9ad7b736be883fd3714b51d3196 (plain)
1
2
3
4
5
6
7
8
9
10
11
echo ===============================================================================
echo \[incltest.sh\]: test $IncludeConfig for specific file

source $srcdir/diag.sh init
source $srcdir/diag.sh startup incltest.conf
# 100 messages are enough - the question is if the include is read ;)
source $srcdir/diag.sh injectmsg 0 100
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 99
source $srcdir/diag.sh exit