11 Commits

Author SHA1 Message Date
Rainer Gerhards
11273d8738 testbench: fix portability issues under AIX 2018-08-31 09:06:46 -05:00
PascalWithopf
19133327cc correct codestyle in rsyslog 2018-07-31 09:44:27 +02:00
Rainer Gerhards
f4540ec6d6 build: remove compiler warnings from testbench tool syslog_caller 2017-10-18 12:45:03 +02:00
Louis Bouchard
2ddc080b08 Add missing include and fix conditional logic
Once the config.h is included, the conditional compilation is wrong
and needs to be fixed

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
2015-07-17 12:39:00 +02:00
Louis Bouchard
647b116c2c Revert missing options in comment
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
2015-07-16 18:09:05 +02:00
Louis Bouchard
1d113d6042 Complete conditional compilation statements
Previous commit was incompleted and allowed for unused
switch to be selected.

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
2015-07-16 17:30:07 +02:00
Louis Bouchard
35058a315f testbench: Add contitional compilation for liblogging-stdlog
When built with --disable-liblogging-stdlog, syslog_caller fails
to compile. This will enable compilation when the library is not
used.
Resolves: #445

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
2015-07-15 18:13:34 +02:00
Rainer Gerhards
bbb793d140 testbench: improve imuxsock coverage
so far, all test required root privileges, which made testing
quite complicated and resulted in no testing of this module
on the testbench machines at all. Now we can also run without
root privileges.

To support the new tests, test tools were also improved.
2014-12-04 12:24:43 +01:00
Rainer Gerhards
33888b84e7 imuxsock: indicate when rate limiting begins, include pid in rl messages
also improved test tool
2010-09-29 14:31:44 +02:00
Rainer Gerhards
829a446c9f improved imuxsock doc & added small testing tool permanently 2010-09-29 12:44:04 +02:00
Rainer Gerhards
054d2ccdd6 imuxsock: added per-socket hash tables/rate limiters & severity filter
rate limiting now applies only to messages with a given severity or above. By
default, emergency messages are NOT rate-limited.
2010-09-28 17:26:28 +02:00