mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 13:10:43 +01:00
25 lines
824 B
Plaintext
25 lines
824 B
Plaintext
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!
|