Andre Lorbach 4759603f7d testbench: Added mmpstrucdata valgrind tests into makefile
Tests and config files were not included in the makefile,
so they were not added into the release tar.gz file.

closes: https://github.com/rsyslog/rsyslog/issues/484
2015-08-17 07:03:34 -07:00
..
2014-07-14 11:21:58 +02:00
2014-11-04 11:33:41 +01:00
2014-07-15 14:53:41 +02:00

This directory contains the rsyslog testbench. It is slowly
evolving. New tests are always welcome. So far, most tests check
out the functionality of a single module. More complex tests are
welcome.

For a simple sample, see rtinit.c, which does a simple
init/deinit check of the runtime system.

Setting up Test Environments
============================

Setting up MariaDB/MySQL
------------------------
to create the necessary user:

echo "create user 'rsyslog'@'localhost' identified by 'testbench';" | mysql -u root
mysql -u root < ../plugins/ommysql/createDB.sql
echo "grant all on Syslog.* to 'rsyslog'@'localhost';" | mysql -u root

openSUSE
--------
To configure system properties like hostname and firewall, use the
graphical "yast2" administration tool. Note the ssh-access by default
is disable in the firewall!