summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* added forgotten testcaseRainer Gerhards2009-08-202-0/+5
|
* Merge branch 'beta'Rainer Gerhards2009-08-171-0/+4
|\
| * legacy syslog parser changed so that it now accepts date stamps in wrong case.Rainer Gerhards2009-08-171-0/+4
| | | | | | | | Some devices seem to create them and I do not see any harm in supporting that.
* | bugfix: discard action did not work (did not discard messages)Rainer Gerhards2009-07-301-1/+1
| |
* | bugfix: discard action caused segfaultRainer Gerhards2009-07-303-0/+32
| |
* | fixed testbench compile problem on some platformsRainer Gerhards2009-07-211-2/+1
| |
* | moved check_JAVA as suggested by Michael Biebl - thxRainer Gerhards2009-07-201-2/+2
| |
* | some more threading changesRainer Gerhards2009-07-201-0/+1
| | | | | | | | ... as well as some cleanup
* | Merge branch 'detached' into masterRainer Gerhards2009-07-152-1/+2
|\ \ | | | | | | | | | | | | Conflicts: tests/nettester.c
| * | further reduction in code size/complexity due to design changeRainer Gerhards2009-07-081-1/+0
| | |
| * | simplified worker thread handlingRainer Gerhards2009-07-081-0/+1
| | | | | | | | | | | | | | | based on now working with detached threads. This is probably the biggest patch in this series and with large bug potential.
* | | Merge branch 'v4-devel'Rainer Gerhards2009-07-099-17/+74
|\ \ \ | |/ / |/| / | |/
| * Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-099-17/+74
| |\ | | | | | | | | | | | | Conflicts: tests/nettester.c
| | * bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-099-16/+74
| | | | | | | | | | | | | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer. Also did some testbench improvements, including omstdout.
* | | Merge branch 'v4-devel'Rainer Gerhards2009-07-084-9/+19
|\| | | | | | | | | | | | | | | | | Conflicts: runtime/debug.h runtime/stream.c
| * | fixed a bug introduced today that lead to an abort in queue disk modeRainer Gerhards2009-07-071-1/+1
| | |
| * | solved a race conditionRainer Gerhards2009-07-071-1/+1
| | |
| * | moved zip part to writer threadRainer Gerhards2009-07-061-2/+2
| | | | | | | | | | | | | | | | | | ... this is necessary in preparation for the final solution (we need to have a "unified" writer). If it causes worse performance to have the zip writher togehter with the synchronous write, we may do an async write...
| * | first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-065-11/+21
| |/ | | | | | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* | re-enabled a testRainer Gerhards2009-07-031-2/+2
| |
* | added yet another forgotten file...Rainer Gerhards2009-07-021-0/+1
| |
* | Merge branch 'master' into v5-develRainer Gerhards2009-07-021-0/+1
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * omfile itself no longer needs zlibRainer Gerhards2009-07-021-0/+1
| |
* | fixed missing file in distribution tarballRainer Gerhards2009-07-021-0/+1
| |
* | Merge branch 'master' into v5-develRainer Gerhards2009-07-011-4/+15
|\|
| * introduced the idea of detached propertiesRainer Gerhards2009-06-291-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
| * updated testbench to new init() behaviorRainer Gerhards2009-06-291-4/+14
| | | | | | | | | | the deferred activation of input modules broke part of the testbench - but this was a testbench issue, not one of the patch
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-265-0/+80
|\|
| * added some basic multithreading tests to testbenchRainer Gerhards2009-06-265-0/+80
| |
* | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-231-1/+1
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * optimized TAG handlingRainer Gerhards2009-06-231-1/+1
| |
* | Merge branch 'omfile' into tmpRainer Gerhards2009-06-2231-37/+225
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * some cleanupRainer Gerhards2009-06-191-0/+8
| |
| * fully optimized datetime module and enhanced test suiteRainer Gerhards2009-06-1929-32/+206
| | | | | | | | tests for the various timestamp formats have been added