Bug #27144 sp-destruct.test is disabled on Windows
Submitted: 14 Mar 2007 17:32 Modified: 22 Mar 2007 20:52
Reporter: Iggy Galarza Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.0 5.1 OS:
Assigned to: Iggy Galarza CPU Architecture:Any

[14 Mar 2007 17:32] Iggy Galarza
Description:
The test sp-destruct is disabled on Windows.   Inside the test file the following lines appear:

# We're using --system things that probably doesn't work on Windows.
--source include/not_windows.inc

The "system" failure is with mkdir because the path passed uses the wrong directory seperator.

How to repeat:
Attempt to run the sp-destruct.test on Windows.

Suggested fix:
Remove the lines that disable the test on Windows.
Change mysqltest.c so that mkdir path's use the correct directory seperator.
Fixup the test so that it runs on both Windows and Posix.
[21 Mar 2007 17:58] 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/22523

ChangeSet@1.2406, 2007-03-21 13:58:11-04:00, iggy@recycle.(none) +1 -0
  Bug#27144 sp-destruct.test is disabled on Windows
  - Update test to run properly on Windows.
[22 Mar 2007 20:41] Mads Martin Joergensen
Fixed in 5.0.40 and 5.1.17
[22 Mar 2007 20:52] Paul DuBois
Test suite change only. No changelog entry needed.