summaryrefslogtreecommitdiffstats
path: root/tests/rscript_contains.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-14 09:00:01 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-14 09:00:01 +0200
commit172d35532c94576aad2a6e97b8bee3bc36aa3b57 (patch)
tree0a625e74f4e968b2f563a54bac199e9bceeec39a /tests/rscript_contains.sh
parent3daaf7c8365e188828a45217b0234a935d1d4a77 (diff)
parent32269e3727df81896a1d349842f651ed887121f1 (diff)
downloadrsyslog-172d35532c94576aad2a6e97b8bee3bc36aa3b57.tar.gz
rsyslog-172d35532c94576aad2a6e97b8bee3bc36aa3b57.tar.bz2
rsyslog-172d35532c94576aad2a6e97b8bee3bc36aa3b57.zip
Merge branch 'v6-devel'
Diffstat (limited to 'tests/rscript_contains.sh')
-rwxr-xr-xtests/rscript_contains.sh13
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