18 Commits

Author SHA1 Message Date
Rainer Gerhards
c11b7ec7d6 some text scripts added (experimental) 2009-03-23 11:27:38 +01:00
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
924ceb305d Merge branch 'beta'
Conflicts:
	ChangeLog
	Makefile.am
	configure.ac
	doc/manual.html
2009-02-24 14:52:49 +01: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
55d05e060e fix the make distcheck workaround ;)
I left some file in the file system, cause make distcheck to fail...
2008-07-30 16:46:10 +02: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
c36eaccd1d forgotten to reflect name change in .gitignore 2008-07-07 12:05:54 +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
37fd063042 added capability to create a printable string of a vmprg
This is needed so that we can create simple testbenches which
will check the result of a test (a generated program) via a
simple strcmp.
2008-07-07 09:41:31 +02:00
Rainer Gerhards
78543b7e31 "worked around" structure misalignment problem in test suite
I disabled a check below, because I can not find the cause of the
misalignment. The problem is that pToken structure has a different
member alignment inside the runtime library then inside of this
program. I checked compiler options, but could not find the cause.
Should anyone have any insight, I'd really appreciate if you drop me
a line.
2008-07-01 14:05:05 +02:00
Rainer Gerhards
b5faa3c4ce misc small changes: corrected version, removed some debug output,
..., restructured makefile, added some troubleshooting to test case
(program rscript-parse.c has problem due to different structure alignment,
where I do not yet know the reason)
2008-06-27 09:13:11 +02:00
Rainer Gerhards
33e2d80632 added .gitignore for tests 2008-06-16 10:42:44 +02:00
Rainer Gerhards
4f32b62990 begun building a testbench 2008-06-13 17:21:03 +02:00
Rainer Gerhards
d44ae01df3 fixing issue with test suite which was not yet adapted to v4 2008-11-26 16:55:05 +01:00