summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-08-271-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
| |
* | 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.
* | 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.
* | | 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.
* | omfile itself no longer needs zlibRainer Gerhards2009-07-021-0/+1
| |
* | 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
* | added some basic multithreading tests to testbenchRainer Gerhards2009-06-265-0/+80
| |
* | optimized TAG handlingRainer Gerhards2009-06-231-1/+1
| |
* | 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
* | fixed abort condition with oversize tagsRainer Gerhards2009-06-182-0/+4
| | | | | | | | this was a regression I introduced this afternoon
* | cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-182-4/+4
| |
* | going forward in moving string-handling functions to new interface...Rainer Gerhards2009-06-171-1/+3
| |
* | fixed small bug in testbenchRainer Gerhards2009-06-122-0/+2
| |
* | re-enabled queue disk fsync testRainer Gerhards2009-06-101-5/+3
| | | | | | | | | | | | ... actually, it was not broken, but just very slow. I have now reduced the number of test messages so that make check will not be held for an extended period of time.
* | fixed small nit in build systemRainer Gerhards2009-06-101-2/+0
| |
* | restructered code in perparation for multiple rule set supportRainer Gerhards2009-06-104-3/+12
| | | | | | | | | | | | | | ... this was long overdue, and I finlly tackeld it. It turned out to be more complex than I initially thought. The next step now probably is to actually implement multiple rule sets and the beauty that comes with them.
* | added capability to fsync() queue disk files for enhanced reliabilityRainer Gerhards2009-06-093-0/+35
| | | | | | | | | | | | | | 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
* | 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-049-40/+119
| | | | | | | | 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.
* added config switch --enable-testbench=no to turn off testbenchRainer Gerhards2009-06-031-0/+3
|
* Merge branch 'beta' into masterRainer Gerhards2009-05-284-1/+51
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-284-1/+51
| |\ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * small enhancement: config validation run now exits with code 1 if an error ↵Rainer Gerhards2009-05-286-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* | | fixed make distcheckRainer Gerhards2009-05-286-6/+8
| | |
* | | fixed typoRainer Gerhards2009-05-271-3/+1
| | |
* | | greatly enhanced testbenchRainer Gerhards2009-05-2715-199/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | added test suite for persistent queue shutdownRainer Gerhards2009-05-254-1/+92
| | |
* | | solved some issues with testbench & a race conditionRainer Gerhards2009-05-252-3/+6
| | |
* | | improved testbench / solved imdiag race conditionRainer Gerhards2009-05-254-2/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | imdiag/imtcp had a modload race condition (as imdiag is a testing aid, this has no implications for production deployments). Also, I replaced netcat by a custom program to talk to imdiag. This, for the first time ever, is now a Java program. I plan to add some GUI troubleshooting tools and thought it is a good idea to start doing things in Java that can simply be done in that language.
* | | added new testing module imdiagRainer Gerhards2009-05-2510-6/+17
| | | | | | | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* | | fixing some nits with the build systemRainer Gerhards2009-05-221-1/+1
| | |
* | | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-2216-37/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Do not fail "make check" if omstdout is not enabledMichael Biebl2009-05-191-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Only run omod-if-array.sh and parsertest.sh test if omstdout plugin is enabled. Remove the comment and fix the help output for --enable-stdout (default was "no", not "yes") Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Fix compiler warningsMichael Biebl2009-05-191-0/+1
| | | | | | | | | | | | | | | | | | include <string.h> for memcpy and strlen. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | improved testbench - added tests for queue disk-only modeRainer Gerhards2009-04-173-1/+50
| | |
* | | bugfix: missing header (platform compatibility issue)v4.3.0Rainer Gerhards2009-04-171-0/+1
| | |
* | | cosmetic fix (status message)Rainer Gerhards2009-04-091-2/+0
| | |
* | | removed MSG_NOSIGNAL & provided work-aroundRainer Gerhards2009-04-091-1/+10
| | | | | | | | | | | | | | | as this send() option is not supported on Solaris. We now simply ignore SIGPIPE
* | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-143-16/+60
| | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | fixed testbench compilation problem on SolarisRainer Gerhards2009-04-092-1/+4
| | | | | | | | | | | | | | | Solaris network libraries needed to be specified in linker options
* | | working some more on "make distcheck"Rainer Gerhards2009-04-092-1/+4
| | | | | | | | | | | | ... this time I think successfully (at least on Fedora...)
* | | fixing "make distcheck"Rainer Gerhards2009-04-091-0/+11
| | |