From 4ee4add6a13de1e75a831323baf1ef3433720ab4 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 14 Sep 2012 07:28:31 +0200 Subject: Add test for script-based contains filter to testbench --- tests/rscript_contains.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/rscript_contains.sh (limited to 'tests/rscript_contains.sh') diff --git a/tests/rscript_contains.sh b/tests/rscript_contains.sh new file mode 100755 index 00000000..fd5c3354 --- /dev/null +++ b/tests/rscript_contains.sh @@ -0,0 +1,13 @@ +# added 2012-09-14 by rgerhards +# This file is part of the rsyslog project, released under ASL 2.0 +echo =============================================================================== +echo \[rscript_contains.sh\]: test for contains script-filter +source $srcdir/diag.sh init +source $srcdir/diag.sh startup rscript_contains.conf +source $srcdir/diag.sh injectmsg 0 5000 +echo doing shutdown +source $srcdir/diag.sh shutdown-when-empty +echo wait on shutdown +source $srcdir/diag.sh wait-shutdown +source $srcdir/diag.sh seq-check 0 4999 +source $srcdir/diag.sh exit -- cgit v1.2.3