1
Drop support for version 1 of "mysql-test-run.pl" from the RPMs:
3
1) The auto-generation of Perl dependencies will mishandle that code,
4
probably because its run directory differs from its storage location.
5
2) It does not provide several variables which are used in tests of MySQL 5.5
7
If you really need it, take it from the source tarball.
9
=== modified file 'mysql-test/mysql-test-run.pl'
10
--- mysql-5.5.17-orig/mysql-test/mysql-test-run.pl 2011-10-03 11:16:40 +0000
11
+++ mysql-5.5.17/mysql-test/mysql-test-run.pl 2011-11-16 19:06:38 +0000
12
@@ -58,10 +58,9 @@ BEGIN {
15
print "=======================================================\n";
16
- print " WARNING: Using mysql-test-run.pl version 1! \n";
17
+ print " ERROR: Support for version 1 is dropped in this distribution! \n";
18
print "=======================================================\n";
19
- # Should use exec() here on *nix but this appears not to work on Windows
20
- exit(system($^X, "lib/v1/mysql-test-run.pl", @ARGV) >> 8);
23
elsif ( $version == 2 )