summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v5-develRainer Gerhards2009-06-262-0/+44
|\
| * added some basic multithreading tests to testbenchRainer Gerhards2009-06-262-0/+44
| |
* | Merge branch 'omfile' into tmpRainer Gerhards2009-06-2226-0/+130
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * fully optimized datetime module and enhanced test suiteRainer Gerhards2009-06-1925-0/+127
| | | | | | | | tests for the various timestamp formats have been added
| * fixed abort condition with oversize tagsRainer Gerhards2009-06-181-0/+3
| | | | | | | | this was a regression I introduced this afternoon
* | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-161-0/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this was NOT a trivial merge, and there may be some issues. This needs to be seen when we continue developing. Conflicts: runtime/msg.h runtime/obj.h runtime/queue.c runtime/srUtils.h runtime/stream.c runtime/stream.h runtime/wti.c tests/Makefile.am tools/omfile.c tools/syslogd.c
| * added capability to fsync() queue disk files for enhanced reliabilityRainer Gerhards2009-06-091-0/+17
| | | | | | | | | | | | | | also adds speed, because you do no longer need to run the whole file system in sync mode. New testbench and new config directives: - $MainMsgQueueSyncQueueFiles - $ActionQueueSyncQueueFiles
| * backported some of the v5 testbenchRainer Gerhards2009-06-041-2/+0
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'master' into v5-develRainer Gerhards2009-05-282-0/+6
|\| | | | | | | | | Conflicts: tests/Makefile.am
| * Merge branch 'beta' into masterRainer Gerhards2009-05-282-0/+6
| |\ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-282-0/+6
| | |\ | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | | * small enhancement: config validation run now exits with code 1 if an error ↵Rainer Gerhards2009-05-282-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is detected. This change is considered important but small enough to apply it directly to the stable version. [But it is a border case, the change requires more code than I had hoped. Thus I have NOT tried to actually catch all cases, this is left for the current devel releases, if necessary]
* | | some cleanup & fix make distcheckRainer Gerhards2009-05-283-3/+3
| | |
* | | Merge branch 'master' into v5-develRainer Gerhards2009-05-284-4/+4
|\| | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diag.sh
| * | fixed make distcheckRainer Gerhards2009-05-284-4/+4
| | |
* | | adapted testbench to new capabilitiesRainer Gerhards2009-05-274-5/+5
| | | | | | | | | | | | | | | ... and now make check fails again, we have obviously found some new bugs thanks to the additional cases
* | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-276-42/+27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh tests/imtcp-multiport.sh tests/manytcp.sh tests/memq-persist.sh
| * | greatly enhanced testbenchRainer Gerhards2009-05-276-42/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-252-0/+45
|\| | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | added test suite for persistent queue shutdownRainer Gerhards2009-05-252-0/+45
| | |
* | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-251-0/+3
|\| |
| * | solved some issues with testbench & a race conditionRainer Gerhards2009-05-251-0/+3
| | |
* | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-252-0/+6
|\| | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh
| * | added new testing module imdiagRainer Gerhards2009-05-252-0/+6
| | | | | | | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-227-0/+52
|\| | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am tools/syslogd.c
| * | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-227-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* | | added explicit (base) test for linkedList and FixedArray queue modesRainer Gerhards2009-05-202-0/+28
| | |
* | | fixed abort condition in DA modeRainer Gerhards2009-04-231-3/+0
| | |
* | | added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-231-0/+2
| | | | | | | | | | | | configuration directives
* | | improving debugging info a bitRainer Gerhards2009-04-231-1/+3
| | |
* | | added test for DA queue mode (in main msg queue) - needs more workRainer Gerhards2009-04-221-0/+20
|/ / | | | | | | | | | | | | | | The problem is that the rsyslog engine writes messages too quickly, so that the queue never enters DA mode. We still have some look contemption. One possible solution (hopefully) is to finally move the parser code out of imtcp and onto the next thread. Need to address these issues first, then come back to the test case.
* | improved testbench - added tests for queue disk-only modeRainer Gerhards2009-04-171-0/+16
| |
* | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-1/+3
| | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | fixing "make distcheck"Rainer Gerhards2009-04-091-0/+11
| |
* | improved testbench, added tests for tcp-based receptionRainer Gerhards2009-04-082-4/+2
| |
* | testcase added (on user request)Rainer Gerhards2009-04-061-0/+3
|/
* 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-039-0/+47
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.