diff options
author | unknown <msvensson@neptunus.(none)> | 2006-11-24 13:39:41 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-11-24 13:39:41 +0100 |
commit | 6f637271bc43b9089610c55935afcce11707cf44 (patch) | |
tree | 93197c52600db5157174f0dc9a65e13faee20270 /mysql-test/mysql-test-run.pl | |
parent | e703227a23b9be1d473751d9d655e5f4294efabe (diff) | |
parent | 4d2665f01e50623d7ccc2535267c26759dcc4d0d (diff) | |
download | mariadb-git-6f637271bc43b9089610c55935afcce11707cf44.tar.gz |
Merge bk-internal:/home/bk/mysql-4.1-maint
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
mysql-test/mysql-test-run.pl:
Auto merged
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 79c3ac6582d..5fe95fc3c6c 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1585,9 +1585,17 @@ sub environment_setup () { # impossible to add correct supressions, that means if "/usr/lib/debug" # is available, it should be added to # LD_LIBRARY_PATH + # + # But pthread is broken in libc6-dbg on Debian <= 3.1 (see Debian + # bug 399035, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399035), + # so don't change LD_LIBRARY_PATH on that platform. # -------------------------------------------------------------------------- my $debug_libraries_path= "/usr/lib/debug"; - if ( $opt_valgrind and -d $debug_libraries_path ) + my $deb_version; + if ( $opt_valgrind and -d $debug_libraries_path and + (! -e '/etc/debian_version' or + ($deb_version= mtr_grab_file('/etc/debian_version')) == 0 or + $deb_version > 3.1 ) ) { push(@ld_library_paths, $debug_libraries_path); } |