summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: $ActionExecOnlyOnceEveryInterval did not work.Rainer Gerhards2009-11-121-0/+4
| | | | | | 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.
* 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
|
* backported some of the v5 testbenchRainer Gerhards2009-06-041-6/+20
| | | | | | | | 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-281-1/+7
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-281-1/+7
| |\ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * small enhancement: config validation run now exits with code 1 if an error ↵Rainer Gerhards2009-05-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-281-0/+1
| | |
* | | fixed typoRainer Gerhards2009-05-271-3/+1
| | |
* | | greatly enhanced testbenchRainer Gerhards2009-05-271-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-1/+4
| | |
* | | improved testbench / solved imdiag race conditionRainer Gerhards2009-05-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-0/+1
| | | | | | | | | | | | | | | 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-221-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | improved testbench - added tests for queue disk-only modeRainer Gerhards2009-04-171-1/+3
| | |
* | | fixed testbench compilation problem on SolarisRainer Gerhards2009-04-091-1/+3
| | | | | | | | | | | | | | | Solaris network libraries needed to be specified in linker options
* | | working some more on "make distcheck"Rainer Gerhards2009-04-091-0/+1
| | | | | | | | | | | | ... this time I think successfully (at least on Fedora...)
* | | added new test case for many tcp connectionsRainer Gerhards2009-04-081-2/+5
| | | | | | | | | | | | | | | | | | | | | It is checked that many tcp connections are properly handled. While adding this test, I noticed that there is a bug in imtcp that prevents creation of more than 200 connections. This bug still exists, so the test suite currently fails (what is correct). Will be addressed soon.
* | | improved testbench, added tests for tcp-based receptionRainer Gerhards2009-04-081-3/+3
|/ /
* | improved test suite and added test for new output module interfaceRainer Gerhards2009-04-031-12/+16
| | | | | | | | | | | | | | | | 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.
* | porting parser tests to solarisRainer Gerhards2009-03-311-4/+8
| |
* | Merge branch 'master' into sol-testRainer Gerhards2009-03-311-6/+13
|\ \ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | changed parser test suite to be c-program basedRainer Gerhards2009-03-311-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | I finally removed the tcl script because tcl costs a lot of time if you do not invest the full learning cycle, plus I have not everything avaible I need on Solaris. With C, I am quicker and I also can create a superior solution. So I finally switched. Took much less time than the initial tcl script...
| * | solved some more issues with "make [dist]check"Rainer Gerhards2009-03-271-1/+1
| | | | | | | | | | | | especially when executed as non-root
| * | fixed a couple of nits with "make [dist]check"Rainer Gerhards2009-03-271-0/+2
| | |
| * | added some missing files in tests Makefile.amRainer Gerhards2009-03-261-4/+8
| | |
| * | initial parser testing suite addedRainer Gerhards2009-03-261-5/+5
| | | | | | | | | | | | | | | | | | integrated tcl test script into autotools make check, created a few test cases based a real-world sample and samples from RFC3164 and 5424.
| * | improved testing supportRainer Gerhards2009-03-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | worked on ways to provide a better test suite: - added -T rsyslogd command line option, enables to specify a directory where to chroot() into on startup. This is NOT a security feature but introduced to support testing. Thus, -T does not make sure chroot() is used in a secure way. (may be removed later) - added omstdout module for testing purposes. Spits out all messages to stdout - no config option, no other features - modified $ModLoad statement so that for modules whom's name starts with a dot, no path is prepended (this enables relative-pathes and should not break any valid current config)
* | | ported non-tcl based test suite to SolarisRainer Gerhards2009-03-311-5/+7
|/ /
* / adapted test framework to new script engineRainer Gerhards2009-03-191-1/+1
|/
* make all cflags and libs variables uppercaseMichael Biebl2009-02-241-4/+4
| | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* preparing for 3.21.1Rainer Gerhards2008-07-301-0/+2
| | | | | | | I disabled some make check checks for make distcheck. I need to add some addtl support for make distcheck environment to rsyslogd and I don't like to hold 3.21.1 just for that any longer.
* fixed some minor nits in preperation for 3.21.1Rainer Gerhards2008-07-291-1/+13
|
* added testbed for config errors and fixed a bugRainer Gerhards2008-07-291-1/+1
| | | | | | - bugfix: no error was reported if the target of a $IncludeConfig could not be accessed. - added testbed for common config errors
* preparing for 3.21.0 releasev3.21.0Rainer Gerhards2008-07-181-1/+1
|
* changed RainerScript testbench to a full-blow test suiteRainer Gerhards2008-07-071-5/+6
| | | | | it now works based on test case files, which enable to quickly generate test cases.
* begun building a testbenchRainer Gerhards2008-06-131-0/+14