Rainer Gerhards
4f97db43df
added more parser test cases
...
also improved testing tools to support new testcase structure
2010-03-11 14:48:44 +01:00
Rainer Gerhards
83c15bb0a0
added more tests to testbench and improved testing tools
2010-03-11 12:36:21 +01:00
Rainer Gerhards
5106cbe466
added ability to work with larger message sizes to testbench tools
2010-03-10 12:19:51 +01:00
Rainer Gerhards
4408d4137a
testbench: new calling interface for tcpflood
...
this is a perquisite to support more flexible testing modes, which
could not intelligently be implemented with the old interface
2010-03-10 11:07:26 +01:00
Rainer Gerhards
ee8bf6d687
Merge branch 'v4-stable' into v4-stable-next
2010-03-10 09:58:46 +01:00
Rainer Gerhards
6c43f93022
fixed regression introduced with previous commit
...
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.
2010-03-10 09:52:49 +01:00
Rainer Gerhards
8833612e75
some cosmetic changes
...
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.
2010-03-10 08:21:41 +01:00
Rainer Gerhards
5996414f04
bugfixes and testbench improvement
...
- 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.
2010-03-10 07:36:38 +01:00
Rainer Gerhards
c802afb7e0
Merge branch 'v5-stable'
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
doc/property_replacer.html
runtime/datetime.h
2010-03-09 14:28:30 +01:00
Rainer Gerhards
de7726cbf0
Merge branch 'v4-stable' into v5-stable
...
Conflicts:
ChangeLog
runtime/datetime.h
2010-03-09 09:15:14 +01:00
Rainer Gerhards
d97ad63e21
added new property replacer option "date-rfc3164-buggyday"
...
primarily to ease migration from syslog-ng. See property replacer doc for
details. [backport from 5.5.3 because urgently needed by some]
2010-03-08 17:56:11 +01:00
Rainer Gerhards
e675ffcd61
added forgotten file
2010-03-08 14:28:09 +01:00
Rainer Gerhards
06387e5592
Merge branch 'v4-stable' into beta
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
tests/rt-init.c
2010-03-08 14:27:20 +01:00
Rainer Gerhards
46cd79a781
added file so far forgotten in git
2010-03-05 13:50:52 +01:00
Rainer Gerhards
b3c8528b50
added new property replacer option "date-rfc3164-buggyday"
...
primarily to ease migration from syslog-ng. See property replacer doc
for details.
2010-03-05 07:56:57 +01:00
Yann Droneaud
cd8c6abcc8
Includes "config.h" before any other header.
...
For consistency, ./configure generated "config.h" must be the first
header include through out the project.
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-03-04 08:00:39 +01:00
Rainer Gerhards
d080ffe467
reordered some include, because otherwise we get zlib-related errors
...
on some platforms (namely Debian sid). This smells like a bug in zlib.
Thanks to Michael Biebl for reporting the issue.
2010-03-03 09:24:40 +01:00
Rainer Gerhards
c2c1d7120c
fully integrated parser fixes from v4.6.0
...
This also made necessary a parser test case updates. Acutally, the test
case was wrong, but I did not notice that before.
2010-02-25 15:29:07 +01:00
Rainer Gerhards
0995bff594
Merge branch 'v4-stable' into 'v5-beta'
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
tools/syslogd.c
2010-02-25 14:42:21 +01:00
Rainer Gerhards
3644fb4b8a
fully integrated parser fixes from v4.6.0
...
This also made necessary some parser test case updates. Acutally, the test
case was wrong, but I did not notice that before.
2010-02-25 14:23:02 +01:00
Rainer Gerhards
ff0f045612
Merge branch 'v4-beta' into master
...
Conflicts:
doc/manual.html
tools/syslogd.c
2010-02-24 11:04:46 +01:00
Rainer Gerhards
af5fb078d4
message parser fixes and testbench enhancements
...
- 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
2010-02-22 14:25:56 +01:00
Rainer Gerhards
c577e9c64c
bugfix: message without MSG part could case a segfault
...
[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...
2010-02-22 09:31:10 +01:00
Rainer Gerhards
acebcd793e
added additional test case (based on real-life problem)
2010-02-19 14:54:41 +01:00
Rainer Gerhards
200e2b6630
Merge branch 'beta' into master
...
Conflicts:
ChangeLog
tests/parsertest.sh
2010-02-10 17:41:28 +01:00
Rainer Gerhards
c8ebe62337
Merge branch 'v4-beta' into beta
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
plugins/imuxsock/imuxsock.c
template.c
tests/Makefile.am
tests/parsertest.sh
2010-02-10 16:35:12 +01:00
Rainer Gerhards
76b3f2cd87
preparing for 4.5.8
2010-02-10 15:26:27 +01:00
Rainer Gerhards
b5e44445f9
added one more test to testbench
2010-02-08 18:35:27 +01:00
Rainer Gerhards
eff5630ec0
enhanced test suite
...
now CSV and regex extraction are being tested (would have caught the
bug fixed with the last commit).
2010-02-08 17:28:58 +01:00
Rainer Gerhards
ddf09f54e1
preparing for 5.5.2
2010-02-05 15:33:18 +01:00
Rainer Gerhards
85045270f6
added $Escape8BitCharactersOnReceive directive
...
Thanks to David Lang for suggesting this functionality.
2010-01-27 15:13:54 +01:00
Rainer Gerhards
8839546349
added testcase
...
existed for some time, had forgotten to add it to git. Not an
important case, though...
2010-01-26 17:40:29 +01:00
Rainer Gerhards
6598615e5b
extended testbench: tests for $CreateDirs
2009-11-30 12:35:46 +01:00
Rainer Gerhards
18399f11cd
re-implemented $EscapeControlCharacterTab config directive
...
Based on Jonathan Bond-Caron's patch for v4. This now also includes some
automatted tests.
2009-11-27 11:26:09 +01:00
Rainer Gerhards
1f48ed19f3
Merge branch 'v4-beta' into beta
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
doc/rsyslog_conf_modules.html
tests/Makefile.am
tests/sndrcv_drvr.sh
2009-11-25 19:13:30 +01:00
Rainer Gerhards
dffcfa8699
Merge branch 'v4-beta' into v4-devel
...
Conflicts:
configure.ac
doc/manual.html
2009-11-20 18:31:14 +01:00
Rainer Gerhards
903811a856
preparing for 4.5.7
2009-11-18 10:55:17 +01:00
Rainer Gerhards
c051786ea6
solved some minor nits in make distcheck
2009-11-13 10:58:43 +01:00
Rainer Gerhards
8b246de2a5
some light performance enhancement
...
...by replacing time() call with much faster (at least under linux)
gettimeofday() calls.
2009-11-12 17:12:10 +01:00
Rainer Gerhards
adab485b93
Merge branch 'v4-devel'
...
Conflicts:
tests/Makefile.am
2009-11-12 13:36:29 +01:00
Rainer Gerhards
329b20451f
Merge branch 'v4-beta' into v4-devel
2009-11-12 13:23:03 +01:00
Rainer Gerhards
0fd8143d87
Merge branch 'v4-stable' into v4-beta
...
Conflicts:
tests/Makefile.am
2009-11-12 13:21:46 +01:00
Rainer Gerhards
0a5b731f2f
bugfix: $ActionExecOnlyOnceEveryInterval did not work.
...
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.
2009-11-12 13:14:39 +01:00
Rainer Gerhards
20f1c9c502
improved testbench: added tests for UDP forwarding and omudpspoof
2009-11-12 11:24:52 +01:00
Rainer Gerhards
c6c875a65d
Merge branch 'v4-devel'
2009-11-11 14:15:00 +01:00
Rainer Gerhards
ef1b6c725b
Merge branch 'v4-beta' into v4-devel
...
Conflicts:
tests/Makefile.am
2009-11-11 14:14:37 +01:00
Rainer Gerhards
22bf4fc832
somewhat enhanced test suite
...
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.
2009-11-11 14:12:09 +01:00
Rainer Gerhards
a9cf6e0e92
testbench improvement: gzip-plain-tcp mode is now being tested
...
... also improved two-instance test mechanism, now have a generic
approach.
2009-11-11 12:06:02 +01:00
Rainer Gerhards
7077420d58
added support for dual-rsyslogd-instance test cases to testbench
...
... plus a simple initial test of the tcp forwarding capability.
2009-11-11 11:44:24 +01:00
Rainer Gerhards
83140cb480
fixed regressions in testsuite due to imported changes from last merge
...
... also bumped version number
2009-11-05 15:04:24 +01:00