From 5155f67d62cf52e742d70b925782acd543b98a16 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 19 Sep 2012 19:25:01 +0200 Subject: 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. --- tests/testsuites/cee_diskqueue.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/testsuites/cee_diskqueue.conf (limited to 'tests/testsuites') 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") -- cgit v1.2.3