~arges/ubuntu/quantal/rsyslog/fix-lp1059592

« back to all changes in this revision

Viewing changes to tests/testsuites/execonlywhenprevsuspended2.conf

Tags: 5.7.3-1
* New upstream release.
* Upload to unstable.
* debian/patches/02-typo_fix_equation_sign.patch
  - Removed, merged upstream.
* debian/patches/03-atomic_operations.patch
  - Removed, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# See main .sh file for info
 
2
# rgerhards, 2010-06-23
 
3
$IncludeConfig diag-common.conf
 
4
 
 
5
# omtesting provides the ability to cause "SUSPENDED" action state
 
6
$ModLoad ../plugins/omtesting/.libs/omtesting
 
7
 
 
8
$MainMsgQueueTimeoutShutdown 100000
 
9
$template outfmt,"%msg:F,58:2%\n"
 
10
 
 
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
 
18
 
 
19
:msg, contains, "msgnum:" ./rsyslog2.out.log;outfmt