summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-05 15:04:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-05 15:04:24 +0100
commit83140cb480b7c806ae11a3a206a1b45936005191 (patch)
tree9f611dd079c6ab7861b02a5e66d6b9664c209369
parent4578dc6a2dc65112f4aaae1524f83cc9b075295d (diff)
downloadrsyslog-83140cb480b7c806ae11a3a206a1b45936005191.tar.gz
rsyslog-83140cb480b7c806ae11a3a206a1b45936005191.tar.xz
rsyslog-83140cb480b7c806ae11a3a206a1b45936005191.zip
fixed regressions in testsuite due to imported changes from last merge
... also bumped version number
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac2
-rw-r--r--doc/manual.html2
-rwxr-xr-xtests/arrayqueue.sh3
-rwxr-xr-xtests/badqi.sh3
-rwxr-xr-xtests/da-mainmsg-q.sh4
-rwxr-xr-xtests/diag.sh3
-rwxr-xr-xtests/discard.sh3
-rwxr-xr-xtests/omruleset-queue.sh2
-rwxr-xr-xtests/omruleset.sh2
-rwxr-xr-xtests/rulesetmultiqueue.sh7
11 files changed, 29 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 196f866a..c1970320 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
---------------------------------------------------------------------------
+Version 5.3.5 [DEVEL] (rgerhards), 2009-11-??
+- bugfixes imported from earlier releases
+ * bugfix: named pipes did no longer work (they always got an open error)
+ this was a regression from the omfile rewrite in 4.5.0
+ * bugfix(testbench): sequence check was not always performed correctly,
+ that could result in tests reporting success when they actually failed
+---------------------------------------------------------------------------
Version 5.3.4 [DEVEL] (rgerhards), 2009-11-04
- added the ability to create custom message parsers
- added $RulesetParser config directive that permits to bind specific
diff --git a/configure.ac b/configure.ac
index 0e60cac1..d850dfda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT([rsyslog],[5.3.4],[rsyslog@lists.adiscon.com])
+AC_INIT([rsyslog],[5.3.5],[rsyslog@lists.adiscon.com])
AM_INIT_AUTOMAKE
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
diff --git a/doc/manual.html b/doc/manual.html
index 6f79eaff..a39a96a5 100644
--- a/doc/manual.html
+++ b/doc/manual.html
@@ -19,7 +19,7 @@ rsyslog support</a> available directly from the source!</p>
<p><b>Please visit the <a href="http://www.rsyslog.com/sponsors">rsyslog sponsor's page</a>
to honor the project sponsors or become one yourself!</b> We are very grateful for any help towards the
project goals.</p>
-<p><b>This documentation is for version 5.3.4 (devel branch) of rsyslog.</b>
+<p><b>This documentation is for version 5.3.5 (devel branch) of rsyslog.</b>
Visit the <i><a href="http://www.rsyslog.com/doc-status.html">rsyslog status page</a></i></b>
to obtain current version information and project status.
</p><p><b>If you like rsyslog, you might
diff --git a/tests/arrayqueue.sh b/tests/arrayqueue.sh
index baf303f3..71e1cc21 100755
--- a/tests/arrayqueue.sh
+++ b/tests/arrayqueue.sh
@@ -1,6 +1,7 @@
# Test for fixedArray queue mode
# added 2009-05-20 by rgerhards
# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
echo \[arrayqueue.sh\]: testing queue fixedArray queue mode
source $srcdir/diag.sh init
source $srcdir/diag.sh startup arrayqueue.conf
@@ -13,5 +14,5 @@ kill `cat rsyslog.pid`
# now wait until rsyslog.pid is gone (and the process finished)
source $srcdir/diag.sh wait-shutdown
-source $srcdir/diag.sh seq-check 39999
+source $srcdir/diag.sh seq-check 0 39999
source $srcdir/diag.sh exit
diff --git a/tests/badqi.sh b/tests/badqi.sh
index 1e6df760..81f8c1c2 100755
--- a/tests/badqi.sh
+++ b/tests/badqi.sh
@@ -4,6 +4,7 @@
# added 2009-10-21 by RGerhards
# This file is part of the rsyslog project, released under GPLv3
# uncomment for debugging support:
+echo ===============================================================================
echo \[badqi.sh\]: test startup with invalid .qi file
source $srcdir/diag.sh init
source $srcdir/diag.sh startup badqi.conf
@@ -11,5 +12,5 @@ source $srcdir/diag.sh startup badqi.conf
source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 20
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown # wait for process to terminate
-source $srcdir/diag.sh seq-check 0 20
+source $srcdir/diag.sh seq-check 0 19
source $srcdir/diag.sh exit
diff --git a/tests/da-mainmsg-q.sh b/tests/da-mainmsg-q.sh
index d502fca3..d9cc0d4d 100755
--- a/tests/da-mainmsg-q.sh
+++ b/tests/da-mainmsg-q.sh
@@ -7,6 +7,7 @@
# check everything recovers from DA mode correctly.
# added 2009-04-22 by Rgerhards
# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
echo "[da-mainmsg-q.sh]: testing main message queue in DA mode (going to disk)"
source $srcdir/diag.sh init
source $srcdir/diag.sh startup da-mainmsg-q.conf
@@ -27,5 +28,6 @@ source $srcdir/diag.sh injectmsg 2050 50
# clean up and check test result
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
-source $srcdir/diag.sh seq-check 2099
+source $srcdir/diag.sh wait-shutdown
+source $srcdir/diag.sh seq-check 0 2099
source $srcdir/diag.sh exit
diff --git a/tests/diag.sh b/tests/diag.sh
index 50749eaa..402a47c2 100755
--- a/tests/diag.sh
+++ b/tests/diag.sh
@@ -85,7 +85,8 @@ case $1 in
rm -f work
sort < rsyslog.out.log > work
# $4... are just to have the abilit to pass in more options...
- ./chkseq -fwork -v -s$2 -e$3 $4 $5 $6 $7
+ # add -v to chkseq if you need more verbose output
+ ./chkseq -fwork -s$2 -e$3 $4 $5 $6 $7
if [ "$?" -ne "0" ]; then
echo "sequence error detected"
exit 1
diff --git a/tests/discard.sh b/tests/discard.sh
index b7ba4eba..9824b361 100755
--- a/tests/discard.sh
+++ b/tests/discard.sh
@@ -4,6 +4,7 @@
# added 2009-07-30 by Rgerhards
# This file is part of the rsyslog project, released under GPLv3
# uncomment for debugging support:
+echo ===============================================================================
echo \[discard.sh\]: testing discard functionality
source $srcdir/diag.sh init
source $srcdir/diag.sh startup discard.conf
@@ -12,5 +13,5 @@ sleep 4
source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 10 1
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown
-source $srcdir/diag.sh seq-check 10 -s2
+source $srcdir/diag.sh seq-check 2 10
source $srcdir/diag.sh exit
diff --git a/tests/omruleset-queue.sh b/tests/omruleset-queue.sh
index 1adf2151..cfb80c62 100755
--- a/tests/omruleset-queue.sh
+++ b/tests/omruleset-queue.sh
@@ -15,5 +15,5 @@ echo doing shutdown
source $srcdir/diag.sh shutdown-when-empty
echo wait on shutdown
source $srcdir/diag.sh wait-shutdown
-source $srcdir/diag.sh seq-check 19999
+source $srcdir/diag.sh seq-check 0 19999
source $srcdir/diag.sh exit
diff --git a/tests/omruleset.sh b/tests/omruleset.sh
index 55dd0872..dbc5cb31 100755
--- a/tests/omruleset.sh
+++ b/tests/omruleset.sh
@@ -18,5 +18,5 @@ echo doing shutdown
source $srcdir/diag.sh shutdown-when-empty
echo wait on shutdown
source $srcdir/diag.sh wait-shutdown
-source $srcdir/diag.sh seq-check 4999
+source $srcdir/diag.sh seq-check 0 4999
source $srcdir/diag.sh exit
diff --git a/tests/rulesetmultiqueue.sh b/tests/rulesetmultiqueue.sh
index 5f594adb..aff55148 100755
--- a/tests/rulesetmultiqueue.sh
+++ b/tests/rulesetmultiqueue.sh
@@ -5,6 +5,7 @@
# support multi-output-file operations.
# added 2009-10-30 by Rgerhards
# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
echo \[rulesetmultiqueu.sh\]: testing multiple queues via rulesets
source $srcdir/diag.sh init
rm -f rsyslog.out1.log rsyslog.out2.log rsyslog.out3.log
@@ -16,6 +17,12 @@ source $srcdir/diag.sh wait-startup
source $srcdir/diag.sh tcpflood 127.0.0.1 13514 3 20000 0
source $srcdir/diag.sh tcpflood 127.0.0.1 13515 3 20000 20000
source $srcdir/diag.sh tcpflood 127.0.0.1 13516 3 20000 40000
+
+# in this version of the imdiag, we do not have the capability to poll
+# all queues for emptyness. So we do a sleep in the hopes that this will
+# sufficiently drain the queues. This is race, but the best we currently
+# can do... - rgerhards, 2009-11-05
+sleep 2
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown
# now consolidate all logs into a single one so that we can use the