summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
Commit message (Collapse)AuthorAgeFilesLines
* added additional test case for async writerRainer Gerhards2010-03-191-0/+15
|
* some cleanup, some additional comments and a bit more debug outputRainer Gerhards2010-03-182-9/+1
|
* added test for deadlock with dynafile writing and cache exhaustionRainer Gerhards2010-03-171-0/+15
| | | | | | 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-171-0/+21
| | | | | | 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 more parser test casesRainer Gerhards2010-03-111-0/+83
| | | | also improved testing tools to support new testcase structure
* added more tests to testbench and improved testing toolsRainer Gerhards2010-03-113-0/+47
|
* bugfixes and testbench improvementRainer Gerhards2010-03-104-0/+55
| | | | | | | | | | - 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-083-0/+30
| | | | | primarily to ease migration from syslog-ng. See property replacer doc for details. [backport from 5.5.3 because urgently needed by some]
* 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-222-3/+7
| | | | | | | [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...
* added one more test to testbenchRainer Gerhards2010-02-082-0/+24
|
* enhanced test suiteRainer Gerhards2010-02-082-0/+23
| | | | | now CSV and regex extraction are being tested (would have caught the bug fixed with the last commit).
* Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-11-122-0/+14
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * bugfix: $ActionExecOnlyOnceEveryInterval did not work.Rainer Gerhards2009-11-122-0/+14
| | | | | | | | | | | | 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-1113-0/+147
| | | | | | | | | | | | | | | | | | | | | | 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-113-1/+20
| | | | | | | | | | ... also improved two-instance test mechanism, now have a generic approach.
* | added support for dual-rsyslogd-instance test cases to testbenchRainer Gerhards2009-11-112-0/+19
| | | | | | | | ... plus a simple initial test of the tcp forwarding capability.
* | added pipe action test to testbench & testbench bugfixRainer Gerhards2009-11-053-9/+17
| |
* | 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: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-094-0/+39
| | | | | | | | | | | | 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.
* | added some basic multithreading tests to testbenchRainer Gerhards2009-06-262-0/+44
| |
* | 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
* | 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 '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]
* | fixed make distcheckRainer Gerhards2009-05-284-4/+4
| |
* | 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.
* | added test suite for persistent queue shutdownRainer Gerhards2009-05-252-0/+45
| |
* | solved some issues with testbench & a race conditionRainer Gerhards2009-05-251-0/+3
| |
* | 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
* | 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.
* | 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.