rsyslog/tests/rscript_ne.sh
Andre Lorbach be940cf970 testbench: made work on FreeBSD
bash "source" extension is not supported in FreeBSD default shell"
2015-07-15 09:33:31 +00:00

14 lines
518 B
Bash
Executable File

# added 2014-01-17 by rgerhards
# This file is part of the rsyslog project, released under ASL 2.0
echo ===============================================================================
echo \[rscript_ne.sh\]: testing rainerscript NE statement
. $srcdir/diag.sh init
. $srcdir/diag.sh startup rscript_ne.conf
. $srcdir/diag.sh injectmsg 0 8000
echo doing shutdown
. $srcdir/diag.sh shutdown-when-empty
echo wait on shutdown
. $srcdir/diag.sh wait-shutdown
. $srcdir/diag.sh seq-check 5000 5002
. $srcdir/diag.sh exit