Bug #100532 Test main.mtr_unit_tests does not work with --client-bindir
Submitted: 14 Aug 2020 13:18 Modified: 17 Feb 2021 16:31
Reporter: Lars Tangvald Email Updates:
Status: Closed Impact on me:
None 
Category:Tests Severity:S7 (Test Cases)
Version:8.0.21 OS:Any
Assigned to: CPU Architecture:Any

[14 Aug 2020 13:18] Lars Tangvald
Description:
In native packages, test clients are not installed to the system path, but placed in /usr/lib/mysql-test/bin. Automated tests for these packages then run the mtr testsuite from the installed testsuitepackage using --client-bindir=/usr/lib/mysql-test/bin

For the new test main.mtr_unit_tests, this doesn't work as mtr still looks for mysqltest_safe_process on the system path while it is located in usr/lib/mysql-test/bin

How to repeat:
- Run mtr test without test clients being on system path, but specifying their location with --client-bindir

Suggested fix:
-
[17 Feb 2021 16:31] Paul DuBois
Posted by developer:
 
Fixed in 8.0.23.

Work was done for test suite. No changelog entry required.