summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-19 19:25:01 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-19 19:25:01 +0200
commit5155f67d62cf52e742d70b925782acd543b98a16 (patch)
tree6e577c5c41b269605f657bc5c71ce38a6a72f2e6 /tests/testsuites
parent1b1b2a16514014b246760636623d273d74116754 (diff)
downloadrsyslog-5155f67d62cf52e742d70b925782acd543b98a16.tar.gz
rsyslog-5155f67d62cf52e742d70b925782acd543b98a16.tar.bz2
rsyslog-5155f67d62cf52e742d70b925782acd543b98a16.zip
bugfix: small memory leak in imdiag
This does not have any practical problems associated with it, EXCECPT that it caused almost all valgrind testbench tests to fail.
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/cee_diskqueue.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testsuites/cee_diskqueue.conf b/tests/testsuites/cee_diskqueue.conf
new file mode 100644
index 00000000..a9b98e80
--- /dev/null
+++ b/tests/testsuites/cee_diskqueue.conf
@@ -0,0 +1,9 @@
+$IncludeConfig diag-common.conf
+
+global(workDirectory="/tmp")
+template(name="outfmt" type="string" string="%$!usr!msg:F,58:2%\n")
+
+set $!usr!msg = $msg;
+if $msg contains 'msgnum' then
+ action(type="omfile" file="./rsyslog.out.log" template="outfmt"
+ queue.type="disk" queue.filename="rsyslog-act1")