2718 Commits

Author SHA1 Message Date
Rainer Gerhards
881d5e8c27 saved old copy of Java DiagTalker tool 2010-04-20 15:39:29 +02:00
Rainer Gerhards
e52c7224ba testbench improvement: Java is no longer needed for testing tool creation 2010-04-20 15:37:28 +02:00
Rainer Gerhards
ada87cbaef Merge branch 'v4-devel' into master
Conflicts:
	ChangeLog
	Makefile.am
	configure.ac
	doc/manual.html
	runtime/debug.c
	runtime/rsyslog.h
	tests/Makefile.am
	tests/diag.sh
	tests/nettester.c
	tools/syslogd.c
2010-04-19 15:13:33 +02:00
Rainer Gerhards
11ab3c8000 bugfix: netstream ptcp support class was not correctly build on systems without epoll() support 2010-04-19 14:56:11 +02:00
Peter Bray
71406206d5 some platforms seem to need time.h inside msleep.c
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-04-19 11:38:36 +02:00
Rainer Gerhards
7053a438ef Merge branch 'v4-stable' into v4-devel
Conflicts:
	ChangeLog
2010-04-12 15:10:00 +02:00
Rainer Gerhards
4ebd062564 solving a number of minor (but annoying) issues in the build system 2010-04-12 14:59:52 +02:00
Rainer Gerhards
1e1cbdb971 added new configure option that permits to disable and enable an extended testbench 2010-04-12 14:31:03 +02:00
Rainer Gerhards
9eee9d8d3d bugfix/testbench: nettester did not work reliably under Solaris 2010-04-12 12:59:09 +02:00
Rainer Gerhards
0a1d0172d3 adopted rsf_getenv.sh test case to new tcpflood calling conventions 2010-04-12 09:10:27 +02:00
Rainer Gerhards
25bc3b2e30 Merge branch 'v4-stable-solaris' into v4-devel
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	tools/omfile.c
	tools/syslogd.c
2010-04-12 09:10:19 +02:00
Rainer Gerhards
da0b293b5d preparing for 5.5.3 release 2010-04-09 14:05:22 +02:00
Rainer Gerhards
8f0a8076cc Merge branch 'beta' into master
Conflicts:
	ChangeLog
	configure.ac
	plugins/imudp/imudp.c
	runtime/stream.h
	tests/Makefile.am
	tests/diag.sh
	tools/omfile.c
2010-04-09 13:00:56 +02:00
Rainer Gerhards
87a957b0f5 Merge branch 'v4-stable-solaris' into beta
Conflicts:
	runtime/Makefile.am
	runtime/rsyslog.c
	tests/nettester.c
	tools/syslogd.c
2010-04-09 12:27:59 +02:00
Rainer Gerhards
2cd132eebb enhanced nettester tool so that it re-uses it's callers environment
this enables us to work with the "usual" environment tweaks (for
debugging and other purposes), without the need for any special
handling in nettester itself
2010-04-07 12:42:41 +02:00
Rainer Gerhards
1cba216220 improvded testbench: added test with truly random data received via syslog to test robustness 2010-04-01 15:11:16 +02:00
Rainer Gerhards
404230c4bd Merge branch 'v4-stable' into v5-stable
Conflicts:

	tools/syslogd.c
2010-04-01 08:30:33 +02:00
Rainer Gerhards
302ad02e77 temporary bugfix replaced by permanent one for...
...message-induced off-by-one error (potential segfault) (see 4.6.2)
The analysis has been completed and a better fix been crafted and
integrated.
2010-03-31 16:21:58 +02:00
Rainer Gerhards
f139dc28fe Merge branch 'v4-stable' into v5-stable 2010-03-29 15:31:59 +02:00
Rainer Gerhards
55639bd99d Merge branch 'v4-stable' into v4-stable-solaris 2010-03-29 15:04:03 +02:00
Rainer Gerhards
e3b469befa bugfix: testbench failed when not executed in UTC+1 timezone
accidently, the time zone information was kept inside some
to-be-checked-for responses
2010-03-29 14:48:36 +02:00
Rainer Gerhards
5ca0abc094 adjusting testbench to new (v4 enhanced) testing tools 2010-03-29 14:03:46 +02:00
Rainer Gerhards
8b9cef552d Merge branch 'v4-stable' into v5-stable
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	runtime/debug.c
	runtime/stream.c
	tests/Makefile.am
	tests/diskqueue.sh
	tests/nettester.c
	tools/omfile.c
2010-03-29 11:07:15 +02:00
Rainer Gerhards
46ac70bb30 Merge branch 'v4-stable' into v4-stable-solaris
Conflicts:
	ChangeLog
2010-03-26 17:00:12 +01:00
Rainer Gerhards
b6ce75cb6c preparing for 4.6.2 2010-03-26 15:41:59 +01:00
Rainer Gerhards
b628ec633e added missing header 2010-03-25 17:21:36 +01:00
Rainer Gerhards
0e0eaae433 Merge branch 'v4-stable' into v4-stable-solaris
Conflicts:
	ChangeLog
2010-03-25 15:48:05 +01:00
Rainer Gerhards
93de3028b3 disable testcases affected by temporary bugfix in commit a3e48b697fa664110567fcd0027d24ea5a239041
... so that the testbench continues to work
2010-03-25 15:36:54 +01:00
Rainer Gerhards
d102aab886 new feature: $OMFileAsyncWriting directive added
it permits to specifiy if asynchronous writing should be done or not
2010-03-25 15:23:39 +01:00
Rainer Gerhards
ec883905c1 testbench improved to run on Solaris 2010-03-25 14:58:23 +01:00
Rainer Gerhards
7e1060295a manytcp test tool must tell OS to provide enough file handles
On some platforms, the default is too low to carry out all test cases
2010-03-25 11:21:10 +01:00
Rainer Gerhards
5deea302b0 replaced sleep in test suite by a small self-crafted tool
subsecond sleep did not work on all platforms
2010-03-25 09:35:49 +01:00
Rainer Gerhards
e0afe5c825 added some diagnostics info to startup 2010-03-23 08:03:21 +01:00
Rainer Gerhards
41552fbc50 adding testcase files missing in git 2010-03-23 07:22:07 +01:00
Rainer Gerhards
2f1d5a1203 valgrand accidently left enabled in diag.sh with the last commit 2010-03-22 15:59:33 +01:00
Rainer Gerhards
148910c285 bugfix(minor): BSD_SO_COMPAT query function had some global vars not properly initialized.
However, in practice the loader initializes them with zero, the
desired value, so there were no actual issue in almost all cases.
2010-03-22 15:47:07 +01:00
Rainer Gerhards
e6aaf12544 added one more test case for dynafile cache 2010-03-22 14:53:08 +01:00
Rainer Gerhards
42d2c13072 cleanup of debug message in testbench 2010-03-22 14:37:36 +01:00
Rainer Gerhards
1ddb082cfa added testcase showcasing problems when dynafile can not be opened
note that so far no patch is provided. This has not yet been made
part of "make check"
2010-03-22 14:06:05 +01:00
Rainer Gerhards
95cde529cc added some more tests for severely ill-formed snare messages
also improved nettester testbench tool a bit
2010-03-21 18:33:14 +01:00
Rainer Gerhards
091e4dc1b9 added parser test cases to testbench 2010-03-19 15:14:09 +01:00
Rainer Gerhards
ab8af1c38d solved some race conditions in testbench
the test cases actually have some races, not the code to be tested
2010-03-19 13:32:31 +01:00
Rainer Gerhards
970383f219 slight improvement to testing tools 2010-03-19 12:20:58 +01:00
Rainer Gerhards
89216d6a96 fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fix
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.
2010-03-19 09:42:46 +01:00
Rainer Gerhards
44f670848a added additional test case for async writer 2010-03-19 07:22:59 +01:00
Rainer Gerhards
1fb45d3e99 some cleanup, some additional comments and a bit more debug output 2010-03-18 12:34:26 +01:00
Rainer Gerhards
5c7225b776 added test for deadlock with dynafile writing and cache exhaustion
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.
2010-03-17 18:11:03 +01:00
Rainer Gerhards
679434312c added test to check for deadlock condition in async-written files
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.
2010-03-17 16:39:18 +01:00
Rainer Gerhards
4cb3e80152 added new, complex testcase to testbench
this is an excerpt from some of the more intensen manual tests
I am doing, stripped down to be useful inside the testbench.
2010-03-16 14:23:13 +01:00
Rainer Gerhards
46861a84f8 fix recently introduced minor nit in Makefile for testbench 2010-03-15 09:36:02 +01:00