diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-22 15:47:07 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-22 15:47:07 +0100 |
commit | 148910c285161097b44cd5df165c3bd19e21ae33 (patch) | |
tree | 87af5b64bf5f45bdafdf8fd1bcba6dae6592aaa7 /tests | |
parent | e6aaf1254404661c59504dab264a1140e9e7b2bc (diff) | |
download | rsyslog-148910c285161097b44cd5df165c3bd19e21ae33.tar.gz rsyslog-148910c285161097b44cd5df165c3bd19e21ae33.tar.xz rsyslog-148910c285161097b44cd5df165c3bd19e21ae33.zip |
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.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/diag.sh | 3 | ||||
-rwxr-xr-x | tests/dynfile_invalid.sh | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/diag.sh b/tests/diag.sh index a4f13afd..a4100ac0 100755 --- a/tests/diag.sh +++ b/tests/diag.sh @@ -7,7 +7,8 @@ # This file is part of the rsyslog project, released under GPLv3 #valgrind="valgrind --log-fd=1" #valgrind="valgrind --tool=drd --log-fd=1" -#valgrind="valgrind --tool=helgrind --log-fd=1" +valgrind="valgrind --tool=helgrind --log-fd=1" +#valgrind="valgrind --tool=exp-ptrcheck --log-fd=1" #set -o xtrace #export RSYSLOG_DEBUG="debug nostdout printmutexaction" #export RSYSLOG_DEBUGLOG="log" diff --git a/tests/dynfile_invalid.sh b/tests/dynfile_invalid.sh index f61dc104..6c792db1 100755 --- a/tests/dynfile_invalid.sh +++ b/tests/dynfile_invalid.sh @@ -9,8 +9,8 @@ echo =========================================================================== echo TEST: \[dynfile_invalid.sh\]: test open fail for dynafiles source $srcdir/diag.sh init # uncomment for debugging support: -export RSYSLOG_DEBUG="debug nostdout noprintmutexaction" -export RSYSLOG_DEBUGLOG="log" +#export RSYSLOG_DEBUG="debug nostdout noprintmutexaction" +#export RSYSLOG_DEBUGLOG="log" source $srcdir/diag.sh startup dynfile_invalid.conf # we send handcrafted message. We have a dynafile cache of 4, and now send one message # each to fill up the cache. |