summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
Commit message (Collapse)AuthorAgeFilesLines
...
| | * added pipe action test to testbench & testbench bugfixRainer Gerhards2009-11-051-1/+3
| | |
| * | added function getenv() to RainerScriptRainer Gerhards2009-11-031-1/+1
| |/
* | Begun to work on partial batch deletes...Rainer Gerhards2009-10-221-0/+1
| | | | | | | | | | | | | | | | ... 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-221-1/+1
| | | | | | | | | | | | | | | | 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.
* | added some tests for IPv4-Only configurationRainer Gerhards2009-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | 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).
* | bugfix and testbench improvementsRainer Gerhards2009-10-071-0/+1
| | | | | | | | | | | | | | | | - 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
|/
* Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-091-0/+1
|\ | | | | | | | | Conflicts: tests/nettester.c
| * bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-091-0/+1
| | | | | | | | | | | | 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.
* | 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
| |
* | first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-061-1/+1
|/ | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* fully optimized datetime module and enhanced test suiteRainer Gerhards2009-06-191-0/+6
| | | | tests for the various timestamp formats have been added
* made dynafiles working againRainer Gerhards2009-06-051-1/+2
| | | | | | | now only stream class is utilized. ttys, pipes and outchannel functionality is currently disabled. But the testbench worked again. Cleanup needed, will do this with next commit (it may break things and I like to have this milestone here).
* backported some of the v5 testbenchRainer Gerhards2009-06-041-4/+6
| | | | | | | | this permits us to keep a persistent test environment between v4 and v5, most importantly using the same tools. As far as the actual tests are concerned, some had issues. I had no time to check if that was an issue with the test or an actual issue with the v3/4 engine. Will do that at some later stage.
* fixed make distcheckRainer Gerhards2009-05-281-2/+3
|
* greatly enhanced testbenchRainer Gerhards2009-05-271-0/+82
The imdiag module now can very effectively inject messages, which also frees us from uncertainties of tcp reception and processing. All shell script based tests have been modularized, what makes it far easier to create new tests. Also, the test bench now executes more reliable and much faster, because we can now rely on actual engine information where we previously did just a dumb sleep.