Debian Codegraph @

debian/patches/mysql-test-run-paths

raw
1 Description: update paths for lz4_decompress and zlib_decompress
2 Since these binaries are moved to /usr/lib/mysql/ by packaging, we also
3 need to ensure that the tests can find them.
4 Author: Robie Basak <[email protected]>
5 Forwarded: not-needed
6 Last-Update: 2018-11-02
7
8 --- a/mysql-test/mysql-test-run.pl
9 +++ b/mysql-test/mysql-test-run.pl
10 @@ -3250,7 +3250,8 @@ sub environment_setup {
11
12 # zlib_decompress
13 my $exe_zlib_decompress =
14 - mtr_exe_maybe_exists("$path_client_bindir/zlib_decompress");
15 + mtr_exe_maybe_exists("$path_client_bindir/zlib_decompress",
16 + "/usr/lib/mysql/zlib_decompress");
17 $ENV{'ZLIB_DECOMPRESS'} = native_path($exe_zlib_decompress);
18
19 # Create an environment variable to make it possible