1210 Commits

Author SHA1 Message Date
Rainer Gerhards
bbfa04fbe6 improved testing support
worked on ways to provide a better test suite:
- added -T rsyslogd command line option, enables to specify a directory
  where to chroot() into on startup. This is NOT a security feature but
  introduced to support testing. Thus, -T does not make sure chroot()
  is used in a secure way. (may be removed later)
- added omstdout module for testing purposes. Spits out all messages to
  stdout - no config option, no other features
- modified $ModLoad statement so that for modules whom's name starts with
  a dot, no path is prepended (this enables relative-pathes and should
  not break any valid current config)
2009-03-19 17:50:07 +01:00
Rainer Gerhards
935018ed62 adapted test framework to new script engine 2009-03-19 13:58:39 +01:00
Rainer Gerhards
8f8e2cd66b improved testbench, added tests for tcp-based reception 2009-04-08 12:19:54 +02:00
Michael Biebl
1448e2486e make all cflags and libs variables uppercase
pkg-config uses uppercase for its _CFLAGS and _LIBS variable names.
So we follow suit and convert all _cflags and _libs variables to
uppercase for more consistency.
2009-02-24 13:09:44 +01:00
Rainer Gerhards
f4f6de247c preparing for 3.21.1
I disabled some make check checks for make distcheck. I need
to add some addtl support for make distcheck environment to
rsyslogd and I don't like to hold 3.21.1 just for that any
longer.
2008-07-30 15:58:35 +02:00
Rainer Gerhards
4b613a4294 fixed some minor nits in preperation for 3.21.1 2008-07-29 15:28:25 +02:00
Rainer Gerhards
c3c385c63b added testbed for config errors and fixed a bug
- bugfix: no error was reported if the target of a $IncludeConfig
  could not be accessed.
- added testbed for common config errors
2008-07-29 14:55:44 +02:00
Rainer Gerhards
8ed5da5dc4 preparing for 3.21.0 release 2008-07-18 16:33:41 +02:00
Rainer Gerhards
493d6a799b changed RainerScript testbench to a full-blow test suite
it now works based on test case files, which enable to quickly
generate test cases.
2008-07-07 12:04:33 +02:00
Rainer Gerhards
4f32b62990 begun building a testbench 2008-06-13 17:21:03 +02:00