summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-01 16:00:22 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-01 16:00:22 +0100
commitc130eb20215d5f4ed4fc23c4bf0223b77176617b (patch)
treecf00632ac5c70f2e4aa70be76938127e4fa5d054 /tests/testsuites
parent74a71e798efd58e20cc150b04de2613bf518eed4 (diff)
downloadrsyslog-c130eb20215d5f4ed4fc23c4bf0223b77176617b.tar.gz
rsyslog-c130eb20215d5f4ed4fc23c4bf0223b77176617b.tar.xz
rsyslog-c130eb20215d5f4ed4fc23c4bf0223b77176617b.zip
improved testbench
- added valgrind-based test (the first one ever ;)) - fixed memory leak in imdiag (guess how this was detected...)
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/udp-msgreduc-vg.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/udp-msgreduc-vg.conf b/tests/testsuites/udp-msgreduc-vg.conf
new file mode 100644
index 00000000..150bef2e
--- /dev/null
+++ b/tests/testsuites/udp-msgreduc-vg.conf
@@ -0,0 +1,11 @@
+# Test for queue disk mode (see .sh file for details)
+# rgerhards, 2009-05-22
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imudp/.libs/imudp
+$UDPServerRun 13514
+$RepeatedMsgReduction on
+
+$template outfmt,"%msg:F,58:2%\n"
+*.* ./rsyslog.out.log;outfmt
+#:msg, contains, "msgnum:" ./rsyslog.out.log;outfmt