summaryrefslogtreecommitdiffstats
path: root/tests/rscript_prifilt.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-20 15:08:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-20 15:08:39 +0200
commit24a248d021c9d2c19b71eef26d3ddf8731e4541b (patch)
treee84c785554329456a78656998e638be0c17c6b90 /tests/rscript_prifilt.sh
parentb24af91ada128cabdfe79a3f70d5a9a508bf9f2a (diff)
downloadrsyslog-24a248d021c9d2c19b71eef26d3ddf8731e4541b.tar.gz
rsyslog-24a248d021c9d2c19b71eef26d3ddf8731e4541b.tar.bz2
rsyslog-24a248d021c9d2c19b71eef26d3ddf8731e4541b.zip
Implement RainerScript prifield() function
Diffstat (limited to 'tests/rscript_prifilt.sh')
-rwxr-xr-xtests/rscript_prifilt.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rscript_prifilt.sh b/tests/rscript_prifilt.sh
new file mode 100755
index 00000000..815492ab
--- /dev/null
+++ b/tests/rscript_prifilt.sh
@@ -0,0 +1,13 @@
+# added 2012-09-20 by rgerhards
+# This file is part of the rsyslog project, released under ASL 2.0
+echo ===============================================================================
+echo \[rscript_prifilt.sh\]: testing rainerscript prifield\(\) function
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup rscript_prifilt.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