| Bug #36034 | Test parts.part_supported_sql_func_<eng> fails on Windows | ||
|---|---|---|---|
| Submitted: | 13 Apr 2008 17:45 | Modified: | 1 May 2008 19:14 |
| Reporter: | Patrick Crews | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Tests: Server | Severity: | S3 (Non-critical) |
| Version: | 5.1 | OS: | Windows |
| Assigned to: | Patrick Crews | CPU Architecture: | Any |
| Tags: | partition, parts, Tests, windows | ||
[13 Apr 2008 17:45]
Patrick Crews
[14 Apr 2008 22:39]
Patrick Crews
kent helped me pinpoint the problem -- it was an error in mysql-test-run.pl Will commit his patch with a few other bug changes.
Here it is in the interim:
--- mysql-test-run.pl.ORIG 2008-04-15 00:14:50.000000000 +0200
+++ mysql-test-run.pl 2008-04-15 00:16:46.000000000 +0200
@@ -2420,13 +2420,7 @@
{
# on windows, copy all files from std_data into var/std_data_ln
mkpath("$opt_vardir/std_data_ln");
- opendir(DIR, "$glob_mysql_test_dir/std_data")
- or mtr_error("Can't find the std_data directory: $!");
- for(readdir(DIR)) {
- next if -d "$glob_mysql_test_dir/std_data/$_";
- copy("$glob_mysql_test_dir/std_data/$_", "$opt_vardir/std_data_ln/$_");
- }
- closedir(DIR);
+ mtr_copy_dir("$glob_mysql_test_dir/std_data", "$opt_vardir/std_data_ln");
}
# Remove old log files
[1 May 2008 6:16]
Bugs System
Pushed into 5.1.25-rc
[1 May 2008 6:18]
Bugs System
Pushed into 6.0.6-alpha
[1 May 2008 19:14]
Paul DuBois
Test suite changes. No changelog entry needed.
