rsyslog/tests/rscript_le_var.sh
2015-12-16 18:34:26 +00:00

15 lines
548 B
Bash
Executable File

#!/bin/bash
# added 2014-01-17 by rgerhards
# This file is part of the rsyslog project, released under ASL 2.0
echo ===============================================================================
echo \[rscript_le.sh\]: testing rainerscript LE statement for two JSON variables
. $srcdir/diag.sh init
. $srcdir/diag.sh startup rscript_le_var.conf
. $srcdir/diag.sh injectmsg 0 1
echo doing shutdown
. $srcdir/diag.sh shutdown-when-empty
echo wait on shutdown
. $srcdir/diag.sh wait-shutdown
. $srcdir/diag.sh seq-check 0 0
. $srcdir/diag.sh exit