diff options
Diffstat (limited to 'debian/patches/93_kfreebsd_tests.patch')
-rw-r--r-- | debian/patches/93_kfreebsd_tests.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/93_kfreebsd_tests.patch b/debian/patches/93_kfreebsd_tests.patch new file mode 100644 index 0000000..3aaa8ce --- /dev/null +++ b/debian/patches/93_kfreebsd_tests.patch @@ -0,0 +1,18 @@ +Author: Nicholas Bamber <nicholas@periapt.co.uk> +Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540153 +Subject: tests not getting started on kFreeBSD + As per #670722 I found that the test socket created to test + file name truncation was barfing even for the shortened form. +Forwarded: no +Last-Update: 2012-04-28 +--- a/mysql-test/lib/My/Platform.pm ++++ b/mysql-test/lib/My/Platform.pm +@@ -113,6 +113,8 @@ + # Similarly the path length is hidden. + # See Debian bug #651002 + return 0 if ($^O eq 'gnu'); ++ # See Debian bug #670722 - failing on kFreeBSD even after setting short path ++ return 0 if length $path < 40; + + require IO::Socket::UNIX; + |