summaryrefslogtreecommitdiff
path: root/debian/patches/93_kfreebsd_tests.patch
blob: 3aaa8ce5d958395541237507b3a9b89badf17006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;