1
# See main .sh file for info
2
# rgerhards, 2010-06-23
3
$IncludeConfig diag-common.conf
5
# omtesting provides the ability to cause "SUSPENDED" action state
6
$ModLoad ../plugins/omtesting/.libs/omtesting
8
$MainMsgQueueTimeoutShutdown 100000
9
$template outfmt,"%msg:F,58:2%\n"
11
:msg, contains, "msgnum:" :omtesting:fail 2 0
12
$ActionExecOnlyWhenPreviousIsSuspended on
13
& ./rsyslog.out.log;outfmt
14
# note that we MUST re-set PrevSusp, else it will remain active
15
# for all other actions as well (this tells us how bad the current
16
# config language is...). -- rgerhards, 2010-06-24
17
$ActionExecOnlyWhenPreviousIsSuspended off
19
:msg, contains, "msgnum:" ./rsyslog2.out.log;outfmt