summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-11 10:58:07 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-11 10:58:07 +0100
commit4195f9cb08cddaeae37dc88c5e879d84391b4359 (patch)
tree5f24c7d497e68b7f348d43d40546d1e2d7234a5d /tests/testsuites
parent765317d54ec5658dd0c598170d0fc0824f751265 (diff)
downloadrsyslog-4195f9cb08cddaeae37dc88c5e879d84391b4359.tar.gz
rsyslog-4195f9cb08cddaeae37dc88c5e879d84391b4359.tar.xz
rsyslog-4195f9cb08cddaeae37dc88c5e879d84391b4359.zip
added new test for imfile to testbench
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/imfile-basic.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuites/imfile-basic.conf b/tests/testsuites/imfile-basic.conf
new file mode 100644
index 00000000..9fb9b5ca
--- /dev/null
+++ b/tests/testsuites/imfile-basic.conf
@@ -0,0 +1,12 @@
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imfile/.libs/imfile
+$InputFileName ./rsyslog.input
+$InputFileTag file:
+$InputFileStateFile stat-file1
+$InputFileSeverity error
+$InputFileFacility local7
+$InputRunFileMonitor
+
+$template outfmt,"%msg:F,58:2%\n"
+:msg, contains, "msgnum:" ./rsyslog.out.log;outfmt