summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/discard-rptdmsg.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-08 18:45:22 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-08 18:45:22 +0100
commitd50f1e711ffd479d1ddbc89342e9b28b8b9abba9 (patch)
tree8364adc48f18f3fafb66990a0ed6a55e66a16da5 /tests/testsuites/discard-rptdmsg.conf
parentf813c01258ec5ef3adc8f4790c5c743c2f4b462a (diff)
parent3866bd51bf7e622594ff4831664c28d80f711cb3 (diff)
downloadrsyslog-d50f1e711ffd479d1ddbc89342e9b28b8b9abba9.tar.gz
rsyslog-d50f1e711ffd479d1ddbc89342e9b28b8b9abba9.tar.xz
rsyslog-d50f1e711ffd479d1ddbc89342e9b28b8b9abba9.zip
Merge branch 'v5-stable' into v5-beta
Conflicts: ChangeLog tests/Makefile.am tools/syslogd.c
Diffstat (limited to 'tests/testsuites/discard-rptdmsg.conf')
-rw-r--r--tests/testsuites/discard-rptdmsg.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testsuites/discard-rptdmsg.conf b/tests/testsuites/discard-rptdmsg.conf
new file mode 100644
index 00000000..74060e31
--- /dev/null
+++ b/tests/testsuites/discard-rptdmsg.conf
@@ -0,0 +1,15 @@
+# Test for discard functionality
+# rgerhards, 2009-07-30
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imtcp/.libs/imtcp
+$MainMsgQueueTimeoutShutdown 10000
+$InputTCPServerRun 13514
+
+$RepeatedMsgReduction on
+
+:msg, contains, "00000001" ~
+
+$template outfmt,"%msg:F,58:2%\n"
+$template dynfile,"rsyslog.out.log" # trick to use relative path names!
+:msg, contains, "msgnum:" ?dynfile;outfmt