Bug #15736 mysql-test-run.pl cannot be used to test a default Windows installation
Submitted: 14 Dec 2005 12:42 Modified: 11 Mar 2006 0:37
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.16 OS:Windows (Windows XP)
Assigned to: Kent Boortz CPU Architecture:Any

[14 Dec 2005 12:42] Carsten Segieth
Description:
When installing to the default path %ProgramFiles"\MySQL\MySQL Server 5.0" it is not possible to use the standard test tool mysql-test-run.pl because it seems to break at the blanks in the path:

1. from a cygwin shell:
csegieth@win2003a-x86 /cygdrive/c/Program Files/MySQL/MySQL Server 5.0/mysql-test
$ ./mysql-test-run.pl alias
mysql-test-run: *** ERROR: Could not find c:/Program
Files/MySQL/MySQL
Server
5.0/bin

2. from a DOS box:
C:\Program Files\MySQL\MySQL Server 5.0\mysql-test>perl ./mysql-test-run.pl alias
mysql-test-run: *** ERROR: Could not find any of C:/Program Files/MySQL/MySQL Server 5.0/bin/mysql_fix_privilege_tables C:/Program Files/MySQL/MySQL S
erver 5.0/scripts/mysql_fix_privilege_tables

How to repeat:
- install to default path
- copy mysql-test dir into the path
- start: perl ./mysql-test-run.pl alias

Suggested fix:
enable support for pathes with blanks in
[14 Dec 2005 12:45] Carsten Segieth
- verified with 5.0.16 pro gpl
[8 Mar 2006 2:52] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/3569
[8 Mar 2006 9:11] Magnus BlÄudd
Patch approved, please push.