summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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.
* | | improved testbenchRainer Gerhards2009-10-2121-14/+80
| | | | | | | | | | | | | | | - added a test to check handling of damaged .qi files on startup - made sure each test identifies itself on startup
* | | bugfix (testbench): left-over from manual test removedRainer Gerhards2009-10-211-7/+0
| | |
* | | Merge branch 'newqueue'Rainer Gerhards2009-10-214-4/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| * | | bugfix: message processing states were not set correctly in all casesRainer Gerhards2009-10-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | however, this had no negative effect, as the message processing state was not evaluated when a batch was deleted, and that was the only case where the state could be wrong.
| * | | Merge branch 'master' into newqueueRainer Gerhards2009-10-152-0/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| * | | | new queue engine - initial commit (probably not 100% working!)Rainer Gerhards2009-10-144-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplified and thus speeded up the queue engine, also fixed some potential race conditions (in very unusual shutdown conditions) along the way. The threading model has seriously changes, so there may be some regressions. NOTE: the code passed basic tests, but there is still more work and testing to be done. This commit should be treated with care.
| * | | | added some debug settings plus improved shutdown sequenceRainer Gerhards2009-10-133-1/+8
| | | | | | | | | | | | | | | | | | | | ... non-working version!
* | | | | preparing for 5.3.2v5.3.2Rainer Gerhards2009-10-211-1/+1
| | | | |
* | | | | added some tests for IPv4-Only configurationRainer Gerhards2009-10-203-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are "abusing" the parser tests to test the TCP/UDP reception handling. Thus we do not run the other tests through to an IPv4 only config. It acutally is not that parser that matters but rather the hope to find some init issues when running with only a single listening socket (in IPv6, we usually both have an IPv4 AND an IPv6 listening socket, what - as practice has shown - may hide listener setup errors).
* | | | | streamlined new addition to testbenchRainer Gerhards2009-10-195-4/+25
| | | | |
* | | | | added new testcase; fixed bug in testdriverRainer Gerhards2009-10-192-2/+21
| |/ / / |/| | |
* | | | added one more parser test caseRainer Gerhards2009-10-092-0/+6
|/ / /
* | | bugfix and testbench improvementsRainer Gerhards2009-10-076-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | - bugfix: solved potential (temporary) stall of messages when the queue was almost empty and few new data added (caused testbench to sometimes hang!) - fixed some race condition in testbench - added more elaborate diagnostics to parts of the testbench - solved a potential race inside the queue engine
* | | bugfix and testbench improvementRainer Gerhards2009-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made shutdown more reliable by makeing sure that the main queue DA worker is only cancelled if this is actually unavoidable. Also moved down the deletion of rsyslogd's pid file to immediately before termination, so that absence of the file is a proper indication that rsyslogd has finished (in the past, e.g. the testbench accidently ran two intances as the pid file was deleted too early). Also some improvments to the testbench, namely to handle aborts more intelligently (but still not perfect).
* | | bugfix: potential race condition when queue worker threads were terminatedRainer Gerhards2009-10-061-1/+1
| | |