Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
None
Description
mtr is broken after https://github.com/MariaDB/server/commit/f5390eea9a9f
Every invocation on Windows now produces
Use of uninitialized value $bpath in string eq at C:/work/10.4/mysql-test/mysql-test-run.pl line 518.
|
Collecting tests...
|
Use of uninitialized value $mariabackup_path in string ne at C:/work/10.4/mysql-test/mysql-test-run.pl line 389.
|
'sh' is not recognized as an internal or external command,
|
operable program or batch file.
|
Use of uninitialized value $mariabackup_path in string ne at C:/work/10.4/mysql-test/mysql-test-run.pl line 389.
|
|
mtr does not rely on sh (use of "sh"), and other things like have_mariabackup.inc handling raises an eyebrow (now it needs ss, and nc, and what not, why?)
Attachments
Issue Links
- is caused by
-
MDEV-18565 Galera mtr-suite fails if galera library is not installed
-
- Closed
-
The execution of mtr in the Windows environment fails due to the fact that the new code from
MDEV-18565does not take into account the need to add the ".exe" extension to the names ofexecutable files when searching for pre-requisites that are needed to run SST scripts (especially when using mariabackup) and when searching paths to some other Galera utilities. This patch fixes this flaw.
Also adding paths to the PATH environment variable is now done with the correct delimiter character.
https://github.com/MariaDB/server/commit/2950ab94b7323a69b948e784af64cb25e1ca2f27