mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 13:10:43 +01:00
This exposes a problem with the current code base, as such the test will currently fail. A bugfix will follow. see also https://github.com/rsyslog/rsyslog/issues/375
19 lines
585 B
Plaintext
19 lines
585 B
Plaintext
# See main .sh file for info
|
|
# rgerhards, 2015-05-27
|
|
main_queue(queue.workerthreads="1")
|
|
$IncludeConfig diag-common.conf
|
|
|
|
# omtesting provides the ability to cause "SUSPENDED" action state
|
|
module(load="../plugins/omtesting/.libs/omtesting")
|
|
|
|
$MainMsgQueueTimeoutShutdown 100000
|
|
template(name="outfmt" type="string" string="%msg:F,58:2%\n")
|
|
|
|
:msg, contains, "msgnum:" {
|
|
:omtesting:fail 2 0 # omtesting has only legacy params!
|
|
action(type="omfile" file="rsyslog.out.log" template="outfmt"
|
|
queue.type="linkedList"
|
|
action.ExecOnlyWhenPreviousIsSuspended="on"
|
|
)
|
|
}
|