summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* initial parser testing suite addedRainer Gerhards2009-03-269-6/+32
| | | | | | integrated tcl test script into autotools make check, created a few test cases based a real-world sample and samples from RFC3164 and 5424.
* parser test script createdRainer Gerhards2009-03-263-42/+78
| | | | | more or less complete now, with some minor nits left for later but is usable.
* some text scripts added (experimental)Rainer Gerhards2009-03-232-0/+51
|
* improved testing supportRainer Gerhards2009-03-191-0/+3
| | | | | | | | | | | | | 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)
* adapted test framework to new script engineRainer Gerhards2009-03-195-22/+44
|
* Merge branch 'beta'Rainer Gerhards2009-02-241-4/+4
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html
| * make all cflags and libs variables uppercaseMichael Biebl2009-02-241-4/+4
| | | | | | | | | | | | 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.
* | fixing issue with test suite which was not yet adapted to v4v4.1.1Rainer Gerhards2008-11-261-6/+6
|/
* fix the make distcheck workaround ;)v3.21.1Rainer Gerhards2008-07-301-0/+1
| | | | I left some file in the file system, cause make distcheck to fail...
* preparing for 3.21.1Rainer Gerhards2008-07-304-14/+53
| | | | | | | 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.
* fixed some minor nits in preperation for 3.21.1Rainer Gerhards2008-07-291-1/+13
|
* added testbed for config errors and fixed a bugRainer Gerhards2008-07-2913-1/+192
| | | | | | - bugfix: no error was reported if the target of a $IncludeConfig could not be accessed. - added testbed for common config errors
* preparing for 3.21.0 releasev3.21.0Rainer Gerhards2008-07-181-1/+1
|
* forgotten to reflect name change in .gitignoreRainer Gerhards2008-07-071-1/+1
|
* changed RainerScript testbench to a full-blow test suiteRainer Gerhards2008-07-077-114/+309
| | | | | it now works based on test case files, which enable to quickly generate test cases.
* added capability to create a printable string of a vmprgRainer Gerhards2008-07-071-4/+12
| | | | | | 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.
* "worked around" structure misalignment problem in test suiteRainer Gerhards2008-07-011-9/+10
| | | | | | | | | 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.
* misc small changes: corrected version, removed some debug output,Rainer Gerhards2008-06-271-1/+10
| | | | | | ..., 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)
* added .gitignore for testsRainer Gerhards2008-06-161-0/+3
|
* begun building a testbenchRainer Gerhards2008-06-136-0/+300