mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 06:20:42 +01:00
Most of the tests will not work in other default shells like on Freebsd or Solaris. So we make /bin/bash default now.
15 lines
674 B
Bash
Executable File
15 lines
674 B
Bash
Executable File
#!/bin/bash
|
|
# we test the execonly if previous is suspended directive. This is the
|
|
# most basic test which soley tests a singel case but no dependencies within
|
|
# the ruleset.
|
|
# rgerhards, 2010-06-23
|
|
echo =====================================================================================
|
|
echo \[execonlywhenprevsuspended.sh\]: test execonly...suspended functionality simple case
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh startup execonlywhenprevsuspended.conf
|
|
. $srcdir/diag.sh injectmsg 0 1000
|
|
. $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
|
. $srcdir/diag.sh wait-shutdown
|
|
. $srcdir/diag.sh seq-check 1 999
|
|
. $srcdir/diag.sh exit
|