summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-11 11:16:41 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-11 11:16:41 +0100
commit9a53ec419e9d9e25a81b26a01ce5b035631e321a (patch)
tree5e32a26ee0ef04c9683221dae1146f10e43d0c33 /tests/testsuites
parentdffb2bab8cb52599626b82587da09df39b16e7aa (diff)
parent4195f9cb08cddaeae37dc88c5e879d84391b4359 (diff)
downloadrsyslog-9a53ec419e9d9e25a81b26a01ce5b035631e321a.tar.gz
rsyslog-9a53ec419e9d9e25a81b26a01ce5b035631e321a.tar.xz
rsyslog-9a53ec419e9d9e25a81b26a01ce5b035631e321a.zip
Merge branch 'v4-stable' into v5-stable
Conflicts: tests/Makefile.am tests/diag.sh tests/tcpflood.c
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