summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fully integrated parser fixes from v4.6.0Rainer Gerhards2010-02-252-2/+3
| | | | | This also made necessary some parser test case updates. Acutally, the test case was wrong, but I did not notice that before.
* Merge branch 'v4-beta' into masterRainer Gerhards2010-02-243-3/+40
|\ | | | | | | | | | | Conflicts: doc/manual.html tools/syslogd.c
| * message parser fixes and testbench enhancementsRainer Gerhards2010-02-221-1/+33
| | | | | | | | | | | | | | | | | | - improved testbench to contain samples for totally malformed messages which miss parts of the message content - bugfix: some malformed messages could lead to a missing LF inside files or some other missing parts of the template content. - bugfix: if a message ended immediately with a hostname, the hostname was mistakenly interpreted as TAG, and localhost be used as hostname
| * bugfix: message without MSG part could case a segfaultRainer Gerhards2010-02-223-3/+8
| | | | | | | | | | | | | | [backported from v5 commit 98d1ed504ec001728955a5bcd7916f64cd85f39f] This actually was a "recent" regression, but I did not realize that it was introduced by the performance optimization in v4-devel. Shame on me for having two devel versions at the same time...
* | added additional test case (based on real-life problem)Rainer Gerhards2010-02-192-0/+8
| |
* | Merge branch 'beta' into masterRainer Gerhards2010-02-106-1/+60
|\ \ | | | | | | | | | | | | | | | Conflicts: ChangeLog tests/parsertest.sh
| * | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-106-1/+60
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c template.c tests/Makefile.am tests/parsertest.sh
| | * preparing for 4.5.8v4.5.8Rainer Gerhards2010-02-101-0/+4
| | |
| | * added one more test to testbenchRainer Gerhards2010-02-083-0/+28
| | |
| | * enhanced test suiteRainer Gerhards2010-02-083-2/+33
| | | | | | | | | | | | | | | now CSV and regex extraction are being tested (would have caught the bug fixed with the last commit).
* | | preparing for 5.5.2v5.5.2Rainer Gerhards2010-02-051-1/+1
| | |
* | | added $Escape8BitCharactersOnReceive directiveRainer Gerhards2010-01-275-0/+21
| | | | | | | | | | | | Thanks to David Lang for suggesting this functionality.
* | | added testcaseRainer Gerhards2010-01-261-0/+3
| | | | | | | | | | | | | | | existed for some time, had forgotten to add it to git. Not an important case, though...
* | | extended testbench: tests for $CreateDirsRainer Gerhards2009-11-306-2/+71
| | |
* | | re-implemented $EscapeControlCharacterTab config directiveRainer Gerhards2009-11-277-0/+60
|/ / | | | | | | | | Based on Jonathan Bond-Caron's patch for v4. This now also includes some automatted tests.
* | Merge branch 'v4-beta' into betaRainer Gerhards2009-11-251-1/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf_modules.html tests/Makefile.am tests/sndrcv_drvr.sh
| * preparing for 4.5.7v4.5.7Rainer Gerhards2009-11-182-0/+2
| |
* | solved some minor nits in make distcheckv5.3.5Rainer Gerhards2009-11-132-0/+2
| |
* | some light performance enhancementRainer Gerhards2009-11-121-0/+1
| | | | | | | | | | ...by replacing time() call with much faster (at least under linux) gettimeofday() calls.
* | Merge branch 'v4-devel'Rainer Gerhards2009-11-124-1/+48
|\ \ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-124-0/+47
| |\|
| | * Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-11-124-0/+47
| | |\ | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | | * bugfix: $ActionExecOnlyOnceEveryInterval did not work.Rainer Gerhards2009-11-124-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | This was a regression from the time() optimizations done in v4. Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=143 Thanks to Klaus Tachtler for reporting this bug.
* | | | improved testbench: added tests for UDP forwarding and omudpspoofRainer Gerhards2009-11-1214-0/+157
| | | |
* | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-1120-17/+306
|\| | |
| * | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-1120-17/+306
| |\| | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * | somewhat enhanced test suiteRainer Gerhards2009-11-1119-29/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also prepared test case for TLS testing, but not activated it inside the build itself. A note on TLS testing: the current testsuite (in git!) already contains TLS test cases. However, getting these test cases correct is not simple. That's not a problem with the code itself, but rater a problem with synchronization in the test environment. So I have deciced to keep the TLS tests in, but not yet actually utilize them. This is most probably left as an excercise for future (devel) releases.
| | * | testbench improvement: gzip-plain-tcp mode is now being testedRainer Gerhards2009-11-117-21/+71
| | | | | | | | | | | | | | | | | | | | ... also improved two-instance test mechanism, now have a generic approach.
| | * | added support for dual-rsyslogd-instance test cases to testbenchRainer Gerhards2009-11-116-17/+98
| | | | | | | | | | | | | | | | ... plus a simple initial test of the tcp forwarding capability.
* | | | fixed regressions in testsuite due to imported changes from last mergeRainer Gerhards2009-11-058-7/+20
| | | | | | | | | | | | | | | | ... also bumped version number
* | | | Merge branch 'v4-devel' into tmpRainer Gerhards2009-11-059-14/+72
|\| | |
| * | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-0510-15/+77
| |\| | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * | added pipe action test to testbench & testbench bugfixRainer Gerhards2009-11-059-14/+72
| | | |
| | * | bugfix(testbench): testcase did not properly wait for rsyslod shutdownRainer Gerhards2009-10-301-1/+5
| | | | | | | | | | | | | | | | | | | | thus some unpredictable behavior and a false negative test result could occur. [BACKPORTED from v5]
| | * | Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-08-271-2/+2
| | |\| | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c
* | | | some more cleanup along the wayRainer Gerhards2009-11-031-1/+0
| | | | | | | | | | | | | | | | ... getting the module structure a bit cleaner ;)
* | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-033-0/+37
|\| | |
| * | | added function getenv() to RainerScriptRainer Gerhards2009-11-034-1/+38
| | | |
| * | | Merge branch 'v4-stable' into v4-develRainer Gerhards2009-08-251-2/+2
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | Conflicts: ChangeLog runtime/msg.c
| | * bugfix: Java testing tools were required, even if testbench was disabledRainer Gerhards2009-08-241-2/+2
| | | | | | | | | | | | | | | | | | This resulted in build errors if no Java was present on the build system, even though none of the selected option actually required Java. (I forgot to backport a similar fix to newer releases).
| | * cleanup (removed left-over from backport)v4.3.2Rainer Gerhards2009-06-241-2/+0
| | |
* | | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-025-0/+86
| | | | | | | | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | | bugfix(testbench): testcase did not properly wait for rsyslod shutdownRainer Gerhards2009-10-301-0/+4
| | | | | | | | | | | | | | | thus some unpredictable behavior and a false negative test result could occur.
* | | added test for ruleset-specific main queueRainer Gerhards2009-10-303-21/+51
| | |
* | | fix: testbench was broken by recent ruleset queue changesRainer Gerhards2009-10-303-0/+35
| | | | | | | | | | | | | | | actually, the runtime dummy was missing some global entities, these have now been added.
* | | fixed race condition during queue shutdownRainer Gerhards2009-10-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Problems could happen if the queue worker needed to be cancelled and this cancellation happened inside queue-code (including wtp, wti). We have now solved this by disabling cancellation while in this code and only enabling it when working inside the user consumer. This exactly matches the use case for which cancellation may be needed.
* | | addressed some race issues during queue shutdownRainer Gerhards2009-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | these occured in very unusual scenarios where we had a DA-queue running in parallel and very lengthy actions. Then, in some situations, the shutdown could hang. The code needs some addition lab time, but is believed to be much better than any previous version.
* | | implemented solution for cancel at shutdown/unprocessed entriesRainer Gerhards2009-10-261-2/+2
| | | | | | | | | | | | | | | We do now enqueue those objects that are left unprocessed. This enables us to delete the full batch, what is exactly what we need to do.
* | | Begun to work on partial batch deletes...Rainer Gerhards2009-10-222-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | ... but this brings a lot of problems with it. The issue is that we still have a sequential store and we do not know how we could delete the one entry right in the middle of processing. I keep this branch if we intend to move on with it - but for now I look into a different solution...
* | | enhanced test environment (including testbench)Rainer Gerhards2009-10-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.