summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-11 12:47:54 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-11 12:47:54 +0100
commitc509177c17288655f308ef68fb2cf7b005a83aed (patch)
tree00767733eac4341874da23bf881c22887ca11b4c /tests/testsuites
parenta2cbbc1a87b36a335e570005fb4df38cb8d508ad (diff)
parent6dbd70732a19a13bacae7b4bea07097458974cc9 (diff)
downloadrsyslog-c509177c17288655f308ef68fb2cf7b005a83aed.tar.gz
rsyslog-c509177c17288655f308ef68fb2cf7b005a83aed.tar.xz
rsyslog-c509177c17288655f308ef68fb2cf7b005a83aed.zip
Merge branch 'v5-beta'
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