summaryrefslogtreecommitdiff
path: root/debian/patches/fix_standalone_tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix_standalone_tests.patch')
-rw-r--r--debian/patches/fix_standalone_tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/fix_standalone_tests.patch b/debian/patches/fix_standalone_tests.patch
new file mode 100644
index 0000000..8635025
--- /dev/null
+++ b/debian/patches/fix_standalone_tests.patch
@@ -0,0 +1,19 @@
+From: Clint Byrum <clint@ubuntu.com>
+Description: makes mtr look in the standard location from the
+ mysql-testsuite-5.5 package.
+Forwarded: not-needed
+
+Index: mysql-5.5/mysql-test/lib/mtr_cases.pm
+===================================================================
+--- mysql-5.5.orig/mysql-test/lib/mtr_cases.pm 2011-11-14 15:35:04.238715000 -0800
++++ mysql-5.5/mysql-test/lib/mtr_cases.pm 2011-11-25 14:41:00.433887578 -0800
+@@ -286,7 +286,8 @@
+ else
+ {
+ $suitedir= my_find_dir($::basedir,
+- ["share/mysql-test/suite",
++ ["lib/mysql-testsuite/suite",
++ "share/mysql-test/suite",
+ "mysql-test/suite",
+ "mysql-test",
+ # Look in storage engine specific suite dirs