summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/mysql-basic-cnf6.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-02-02 16:47:19 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-02-02 16:47:19 +0100
commit5494790ece676ca0a07c0a62cb457338ec4cec90 (patch)
tree2f5cc27bb928d688d47435dd3823a89c7bb0c2dd /tests/testsuites/mysql-basic-cnf6.conf
parent03cf2a5113e130e4f64b048dc4dc6d2c0aa1b3b2 (diff)
downloadrsyslog-5494790ece676ca0a07c0a62cb457338ec4cec90.tar.gz
rsyslog-5494790ece676ca0a07c0a62cb457338ec4cec90.tar.xz
rsyslog-5494790ece676ca0a07c0a62cb457338ec4cec90.zip
bugfix: abort during startup when rsyslog.conf v6+ format was used in a certain way
Diffstat (limited to 'tests/testsuites/mysql-basic-cnf6.conf')
-rw-r--r--tests/testsuites/mysql-basic-cnf6.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testsuites/mysql-basic-cnf6.conf b/tests/testsuites/mysql-basic-cnf6.conf
index bc95dc4f..12bd0b29 100644
--- a/tests/testsuites/mysql-basic-cnf6.conf
+++ b/tests/testsuites/mysql-basic-cnf6.conf
@@ -1,7 +1,7 @@
$IncludeConfig diag-common.conf
$ModLoad ../plugins/ommysql/.libs/ommysql
-:msg, contains, "msgnum:" action(type="ommysql"
- server="127.0.0.1"
- db="Syslog
- uid="rsyslog" pwd="testbench")
+if $msg contains 'msgnum' then {
+ action(type="ommysql" server="127.0.0.1"
+ db="Syslog" uid="rsyslog" pwd="testbench")
+}