summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* made sure udptester terminates only after rsyslgod it spawnedRainer Gerhards2009-04-061-0/+2
| | | | | | | We noticed this race issue under Solaris (thanks to its different scheduler, I guess). In some cases, the previous instance of rsyslogd was not terminated, resulting in a failure on the next test. Now handled correctly.
* improved parser test suiteRainer Gerhards2009-04-036-0/+18
| | | | new tests added, now much better
* improved test suite and added test for new output module interfaceRainer Gerhards2009-04-0313-25/+69
| | | | | | | | The testbench has now a generic driver that can run a whole class of test suites just by providing a config file and test cases. This does not cover all testing needs, but a lot. We have now added one test for the new array-passing output plugin interface.
* fixed some problems with "make check"Demo2009-03-313-4/+2
| | | | | interestingly, they manifested on Debian, only, but potentially existed on other platforms, too.
* porting parser tests to solarisRainer Gerhards2009-03-313-35/+64
|
* Merge branch 'master' into sol-testRainer Gerhards2009-03-319-6/+313
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * bugfix: "make distcheck" did not workRainer Gerhards2009-03-312-5/+9
| |
| * changed parser test suite to be c-program basedRainer Gerhards2009-03-315-88/+270
| | | | | | | | | | | | | | | | I finally removed the tcl script because tcl costs a lot of time if you do not invest the full learning cycle, plus I have not everything avaible I need on Solaris. With C, I am quicker and I also can create a superior solution. So I finally switched. Took much less time than the initial tcl script...
| * solved some more issues with "make [dist]check"Rainer Gerhards2009-03-274-7/+4
| | | | | | | | especially when executed as non-root
| * fixed a couple of nits with "make [dist]check"Rainer Gerhards2009-03-275-5/+20
| |
| * added some missing files in tests Makefile.amRainer Gerhards2009-03-262-21/+14
| |
| * 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)
* | ported non-tcl based test suite to SolarisRainer Gerhards2009-03-314-15/+93
|/
* 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