88 Commits

Author SHA1 Message Date
Rainer Gerhards
acea81df10 turn off accidentally enabled make check debug mode 2013-10-15 15:25:47 +02:00
Rainer Gerhards
f9c37fcc78 bugfix: imfile did not properly initialize strm object ptr
This did not cause any real issue, as with the current config system
the zerod-out static memory actually was initialized. However, this
posed problems after we moved to dynamic memory alloc.
2013-10-15 15:19:21 +02:00
Rainer Gerhards
ba839bf172 testbench: "prevent" memleaks due to race
imdiag may not have enough time to properly terminate when the
shutdown request is made. Thus we give it a little headroom. Note
that this does not address a real issue inside the code - at most,
it looks like a memory leak, but one where the whole process is
immediately destructed. However, it is an annouance for the testbench.
Note that the race may still occur based on circumstances, but now
is much less likely.
2013-06-25 11:18:13 +02:00
Rainer Gerhards
3af3d3aab8 undo accidental enable of debug system in testbench 2013-01-24 06:39:44 +01:00
Rainer Gerhards
0d71694fb3 optimize: have dns cache pre-create rsyslog prop_t's 2013-01-24 06:19:13 +01:00
Rainer Gerhards
51c4130853 testbench: bug fix & enhance $IncludeConfig tests
The bug fixes actually fixes a bug inside the *testbench* itself.
2012-11-20 14:32:00 +01:00
Rainer Gerhards
3cbb70651b prepare 7.2.2 release 2012-11-16 14:50:26 +01:00
Rainer Gerhards
dc8f9b531c bugfix: $IncludeConfig did not correctly process directories
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=376
The testbench was also enhanced to check for these cases.
Thanks to Georgi Georgiev for the bug report.

Also minor bugfix: no error msg on unreadable $IncludeConfig path
2012-11-09 12:12:17 +01:00
Rainer Gerhards
6bfc397b09 preparing for 6.6.0 2012-10-22 12:20:18 +02:00
Rainer Gerhards
fa5c1371db preparing for 6.3.3 2011-07-13 14:49:14 +02:00
Rainer Gerhards
bb8ab61f4f reverting back to non-debug settings
debug settings in testbench were accidently left on, including a
special test case
2011-07-13 13:49:34 +02:00
Rainer Gerhards
2a2a9716f7 Merge branch 'master-newconf'
Conflicts:
	ChangeLog
	tools/omfile.c
2011-07-12 12:39:10 +02:00
Rainer Gerhards
cefa1fac08 fixed lexer: facilities local0-local7 were not correctly handled 2011-07-11 16:51:30 +02:00
Rainer Gerhards
3b63b155ed Merge branch 'v5-devel'
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	runtime/rsyslog.h
2011-07-11 11:24:08 +02:00
Rainer Gerhards
398966be6d Merge branch 'v4-stable' into v5-stable
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	tests/diag.sh
2011-07-11 10:08:13 +02:00
Rainer Gerhards
dc1dd284c2 preparing for 4.6.7 release 2011-07-11 08:55:53 +02:00
Rainer Gerhards
b71ef4abad Merge branch 'v5-stable' into beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	tests/diag.sh
	tests/sndrcv_drvr.sh
2011-06-21 15:42:11 +02:00
Rainer Gerhards
86225089f2 bugfix: mutex was invalidly left unlocked during action processing
At least one case where this can occur is during thread shutdown, which
may be initiated by lower activity. In most cases, this is quite
unlikely to happen. However, if it does, data structures may be
corrupted which could lead to fatal failure and segfault. I detected
this via a testbench test, not a user report. But I assume that some
users may have had unreproducable aborts that were cause by this bug.
2011-06-21 12:35:14 +02:00
Rainer Gerhards
9fcc6b7285 testbench: added new tests for failover cases 2011-06-20 15:57:15 +02:00
Rainer Gerhards
b30e809a20 Merge branch 'v5-devel'
Conflicts:
	configure.ac
	doc/manual.html
	doc/rsyslog_conf.html
	runtime/msg.c
	runtime/rsyslog.h
	template.c
2011-03-31 17:08:01 +02:00
Rainer Gerhards
b59f8fd65d fixed problem in testbench & added new test (not yet integrated)
The test is a setup scenario for this bug tracker:
http://bugzilla.adiscon.com/show_bug.cgi?id=241
2011-03-30 11:19:22 +02:00
Rainer Gerhards
2fc70320e3 Merge branch 'v5-stable' into v5-beta
Conflicts:
	tests/Makefile.am
2011-03-16 15:08:53 +01:00
Rainer Gerhards
9e18ecc9bd fixed a regression of last patch and some cleanup 2011-03-16 15:04:43 +01:00
Rainer Gerhards
ce1860a0bc bugfix: failover did not work correctly if repeated msg reduction was on
affected directive was: $ActionExecOnlyWhenPreviousIsSuspended on
2011-03-16 14:40:36 +01:00
Rainer Gerhards
8ca7467ed4 fixed double-free regerssion, probably caused by last merge 2011-03-14 14:37:40 +01:00
Rainer Gerhards
ef45e0ff71 Merge branch 'v5-devel'
Conflicts:
	tests/diag.sh
2011-03-14 12:49:12 +01:00
Rainer Gerhards
da4c90af25 testbench bugfix: work file was left over 2011-03-14 12:40:42 +01:00
Rainer Gerhards
5c7162879a testbench bugfix: tls test failed during make distcheck...
... due to wrong path the certificate files
2011-03-11 15:47:41 +01:00
Rainer Gerhards
ffa57b17b2 Merge branch 'v5-stable' into v5-beta
Conflicts:
	tests/Makefile.am
2011-03-11 11:46:32 +01:00
Rainer Gerhards
9a53ec419e Merge branch 'v4-stable' into v5-stable
Conflicts:
	tests/Makefile.am
	tests/diag.sh
	tests/tcpflood.c
2011-03-11 11:16:41 +01:00
Rainer Gerhards
4195f9cb08 added new test for imfile to testbench 2011-03-11 10:58:07 +01:00
Rainer Gerhards
1a08758653 further improved testbench
some cosmetic issues, plus a new valgrind-based test
2011-03-08 18:58:28 +01:00
Rainer Gerhards
4fb7dd296e backported new testbench support for valgrind 2011-03-06 15:50:48 +01:00
Rainer Gerhards
490518ae18 preparing for 5.5.6 release 2010-07-21 14:46:10 +02:00
Rainer Gerhards
31fae7b93d bugfix: "$ActionExecOnlyWhenPreviousIsSuspended on" was broken
Note that, as it looks, the directive was already broken in previous v5 versions.
So while I solved what looked like a (intentional) regression from the
performance tuning, I actually solved a previous regression as well ;)

I have also added new test cases to the testbench in order to capture such
problems in the future. This version does now look pretty good in shape.
2010-06-24 12:13:48 +02:00
Rainer Gerhards
0577f7f182 fixed a problem with ACT_MESSAGE_PASSING type of doAction interface 2010-06-15 14:55:09 +02:00
Rainer Gerhards
802f6d8a8f milestone(BUGGY): batch now pushed down to action
at least in important cases (not for non-direct action queues and some
other minor things). This version is definitely buggy, but may be tried
with success on a non-production system. I will continue to work on the
correctness, but needed to commit now to get a baseline.
2010-06-15 14:02:34 +02:00
Rainer Gerhards
59497bd057 Merge branch 'v5-stable'
Conflicts:
	tests/diag.sh
2010-04-26 14:14:59 +02:00
Rainer Gerhards
270e455d6d added testcase for problem with pipe without a reader
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=186

Note that this adds the test case, but does not yet provide a solution
(so make check will hang when executed). Fix will be done next.
2010-04-26 12:53:37 +02:00
Rainer Gerhards
d02bd7b837 Merge branch 'v4-devel' 2010-04-21 17:38:53 +01:00
Super-User
b526e3d92f bugfix: some race condition in testbench on Solaris/Sparc 2010-04-21 17:36:03 +01:00
Rainer Gerhards
534e07d738 Merge branch 'v4-devel' into master
Conflicts:
	plugins/imsolaris/imsolaris.c
	tests/Makefile.am
2010-04-20 16:03:51 +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
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
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