1
Author: Otto Kekäläinen <otto@seravo.fi>
2
Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540153
3
Subject: tests not getting started on kFreeBSD
4
As per #670722 I found that the test socket created to test
5
file name truncation was barfing even for the shortened form.
6
This patch was adapted from the similar one in MySQL 5.6 package.
8
Last-Update: 2014-08-07
9
--- a/mysql-test/lib/My/Platform.pm
10
+++ b/mysql-test/lib/My/Platform.pm
11
@@ -111,6 +111,9 @@ sub check_socket_path_length {
13
return 0 if ($^O eq 'aix');
15
+ # See Debian bug #670722 - failing on kFreeBSD even after setting short path
16
+ return 0 if length $path < 40;
18
require IO::Socket::UNIX;