diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-14 07:28:31 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-14 07:28:31 +0200 |
commit | 4ee4add6a13de1e75a831323baf1ef3433720ab4 (patch) | |
tree | 342534e5f500cc3f4b05d5c6040e7ea026cf65f4 /tests/rscript_contains.sh | |
parent | 11910c59138332a884ed753401afdd84feeb1832 (diff) | |
download | rsyslog-4ee4add6a13de1e75a831323baf1ef3433720ab4.tar.gz rsyslog-4ee4add6a13de1e75a831323baf1ef3433720ab4.tar.bz2 rsyslog-4ee4add6a13de1e75a831323baf1ef3433720ab4.zip |
Add test for script-based contains filter to testbench
Diffstat (limited to 'tests/rscript_contains.sh')
-rwxr-xr-x | tests/rscript_contains.sh | 13 |
1 files changed, 13 insertions, 0 deletions
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 |