summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fixtemp.4.6.1.10Rainer Gerhards2010-03-191-2/+2
| | | | | | | | The previous fix fixed an issue with on/off bying used in the exact wrong semantic. It corrected the situation, but failed to fix one spot where the wrong semantics were used. This is done with this commit. Note that this is NOT a bug seen in any released version.
* added additional test case for async writerRainer Gerhards2010-03-193-0/+43
|
* some cleanup, some additional comments and a bit more debug outputRainer Gerhards2010-03-184-17/+13
|
* added test for deadlock with dynafile writing and cache exhaustionRainer Gerhards2010-03-173-0/+82
| | | | | | Note that this introduces a test case that breaks the current code. This commit does NOT yet provide the necessary code patch. Thus "make check" does currently hang.
* added test to check for deadlock condition in async-written filesRainer Gerhards2010-03-173-0/+47
| | | | | | Note that this introduces a test case that breaks the current code. This commit does NOT yet provide the necessary code patch. Thus make check does currently hang.
* added new, complex testcase to testbenchRainer Gerhards2010-03-163-8/+24
| | | | | this is an excerpt from some of the more intensen manual tests I am doing, stripped down to be useful inside the testbench.
* fix recently introduced minor nit in Makefile for testbenchRainer Gerhards2010-03-151-1/+0
|
* added more parser test casesRainer Gerhards2010-03-113-2/+147
| | | | also improved testing tools to support new testcase structure
* added more tests to testbench and improved testing toolsRainer Gerhards2010-03-1114-7/+199
|
* added ability to work with larger message sizes to testbench toolsRainer Gerhards2010-03-102-11/+63
|
* testbench: new calling interface for tcpfloodRainer Gerhards2010-03-1013-34/+37
| | | | | this is a perquisite to support more flexible testing modes, which could not intelligently be implemented with the old interface
* Merge branch 'v4-stable' into v4-stable-nextRainer Gerhards2010-03-101-0/+3
|\
| * fixed regression introduced with previous commitRainer Gerhards2010-03-101-0/+3
| | | | | | | | | | | | disk queue mode did no longer work correctly. A side-effect of this commit here is slightly cleaned-up (and more elegant) code for circular files.
* | some cosmetic changesRainer Gerhards2010-03-104-0/+4
|/ | | | | | note that a buffer size calculation was done wrong, but this was cosmetic because our buffers currently all use byte size, so even though the formula was wrong, the result was correct.
* bugfixes and testbench improvementRainer Gerhards2010-03-109-0/+145
| | | | | | | | | | - improved testbench - bugfix: potential data loss during file stream shutdown - bugfix: potential problems during file stream shutdown The shutdown/close sequence was not clean, what potentially (but unlikely) could lead to some issues. We have not been able to describe any fatal cases, but there was some bug potential. Sequence has now been straighted out.
* added new property replacer option "date-rfc3164-buggyday"Rainer Gerhards2010-03-085-0/+36
| | | | | primarily to ease migration from syslog-ng. See property replacer doc for details. [backport from 5.5.3 because urgently needed by some]
* Includes "config.h" before any other header.Yann Droneaud2010-03-042-0/+2
| | | | | | | For consistency, ./configure generated "config.h" must be the first header include through out the project. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* reordered some include, because otherwise we get zlib-related errorsRainer Gerhards2010-03-031-2/+1
| | | | | on some platforms (namely Debian sid). This smells like a bug in zlib. Thanks to Michael Biebl for reporting the issue.
* message parser fixes and testbench enhancementsRainer Gerhards2010-02-221-1/+33
| | | | | | | | | - improved testbench to contain samples for totally malformed messages which miss parts of the message content - bugfix: some malformed messages could lead to a missing LF inside files or some other missing parts of the template content. - bugfix: if a message ended immediately with a hostname, the hostname was mistakenly interpreted as TAG, and localhost be used as hostname
* bugfix: message without MSG part could case a segfaultRainer Gerhards2010-02-223-3/+8
| | | | | | | [backported from v5 commit 98d1ed504ec001728955a5bcd7916f64cd85f39f] This actually was a "recent" regression, but I did not realize that it was introduced by the performance optimization in v4-devel. Shame on me for having two devel versions at the same time...
* preparing for 4.5.8v4.5.8Rainer Gerhards2010-02-101-0/+4
|
* added one more test to testbenchRainer Gerhards2010-02-083-0/+28
|
* enhanced test suiteRainer Gerhards2010-02-083-2/+33
| | | | | now CSV and regex extraction are being tested (would have caught the bug fixed with the last commit).
* preparing for 4.5.7v4.5.7Rainer Gerhards2009-11-182-0/+2
|
* 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.
* | 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.
* | 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
| * 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
| |