diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-10 14:46:47 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-10 14:46:47 +0100 |
commit | 9cc963926bad3de9a78df51a19456f419c34492a (patch) | |
tree | 5321d74ead5891f138f6919a81dfd672e91b6a78 /tests/testsuites | |
parent | 225aa0e367a604d3891bba13d470bfacc3dfe544 (diff) | |
download | rsyslog-9cc963926bad3de9a78df51a19456f419c34492a.tar.gz rsyslog-9cc963926bad3de9a78df51a19456f419c34492a.tar.xz rsyslog-9cc963926bad3de9a78df51a19456f419c34492a.zip |
bugfix: minor memory leak in omlibdbi (< 1k per instance and run)
also testbench improvement (omlibdbi now also receives a couple of
tests if we have a life MySQL server).
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/libdbi-asyn.conf | 12 | ||||
-rw-r--r-- | tests/testsuites/libdbi-basic.conf | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/testsuites/libdbi-asyn.conf b/tests/testsuites/libdbi-asyn.conf new file mode 100644 index 00000000..39b01fbc --- /dev/null +++ b/tests/testsuites/libdbi-asyn.conf @@ -0,0 +1,12 @@ +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/omlibdbi/.libs/omlibdbi + +$ActionQueueType LinkedList + +$ActionLibdbiDriver mysql +$ActionLibdbiHost 127.0.0.1 +$ActionLibdbiUserName root +$ActionLibdbiPassword pass +$ActionLibdbiDBName Syslog +:msg, contains, "msgnum:" :omlibdbi: diff --git a/tests/testsuites/libdbi-basic.conf b/tests/testsuites/libdbi-basic.conf new file mode 100644 index 00000000..212225cc --- /dev/null +++ b/tests/testsuites/libdbi-basic.conf @@ -0,0 +1,9 @@ +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/omlibdbi/.libs/omlibdbi +$ActionLibdbiDriver mysql +$ActionLibdbiHost 127.0.0.1 +$ActionLibdbiUserName root +$ActionLibdbiPassword pass +$ActionLibdbiDBName Syslog +:msg, contains, "msgnum:" :omlibdbi: |