summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-10-02 12:57:20 +0200
committerSergei Golubchik <sergii@pisem.net>2014-10-02 12:57:20 +0200
commitc58f561e0d41c7ed9a41bf12f82c3d66d2b08ea5 (patch)
treedb3865a2be504bcb1e9d5d6e6b5008955159e78d
parent384999f3e8707bcc249bf9fd56828b8ec3e839bf (diff)
downloadmariadb-git-c58f561e0d41c7ed9a41bf12f82c3d66d2b08ea5.tar.gz
MDEV-5707 MTR fails on kfreebsd
apply debian's patch to workaround kfreebsd bug
-rw-r--r--mysql-test/lib/My/Platform.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/lib/My/Platform.pm b/mysql-test/lib/My/Platform.pm
index 483bf0bd4f3..1776f1008da 100644
--- a/mysql-test/lib/My/Platform.pm
+++ b/mysql-test/lib/My/Platform.pm
@@ -110,6 +110,8 @@ sub check_socket_path_length {
# This may not be true, but we can't test for it on AIX due to Perl bug
# See Bug #45771
return 0 if ($^O eq 'aix');
+ # See Debian bug #670722 - failing on kFreeBSD even after setting short path
+ return 0 if $^O eq 'gnukfreebsd' and length $path < 40;
require IO::Socket::UNIX;