summaryrefslogtreecommitdiffstats
path: root/tests/cee_diskqueue.sh
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/cee_diskqueue.sh
parent1b1b2a16514014b246760636623d273d74116754 (diff)
downloadrsyslog-5155f67d62cf52e742d70b925782acd543b98a16.tar.gz
rsyslog-5155f67d62cf52e742d70b925782acd543b98a16.tar.xz
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/cee_diskqueue.sh')
-rwxr-xr-xtests/cee_diskqueue.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/cee_diskqueue.sh b/tests/cee_diskqueue.sh
new file mode 100755
index 00000000..4e19855b
--- /dev/null
+++ b/tests/cee_diskqueue.sh
@@ -0,0 +1,14 @@
+# check if CEE properties are properly saved & restored to/from disk queue
+# added 2012-09-19 by rgerhards
+# This file is part of the rsyslog project, released under ASL 2.0
+echo ===============================================================================
+echo \[cee_diskqueue.sh\]: CEE and diskqueue test
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup cee_diskqueue.conf
+source $srcdir/diag.sh injectmsg 0 5000
+echo doing shutdown
+source $srcdir/diag.sh shutdown-when-empty
+echo wait on shutdown
+source $srcdir/diag.sh wait-shutdown
+source $srcdir/diag.sh seq-check 0 4999
+source $srcdir/diag.sh exit