summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-06-29 11:01:55 +0200
committerSergei Golubchik <serg@mariadb.org>2018-08-12 11:37:42 +0200
commita39337415d173f791b2def2bc63818134319f669 (patch)
treeb8d7130cc4ffdafc32b09910f2db8968878a3633 /mysql-test/lib
parent08b91548db8c1c8363b9ca7f6629f7bb819e77c3 (diff)
downloadmariadb-git-a39337415d173f791b2def2bc63818134319f669.tar.gz
MDEV-14900 Upstream 10.3 debian patches
applied (at least partially): * armhf_mroonga_storage_fail.patch (unaligned write) * mysqld_multi.server_lsb-header.patch (add LSB header) * fix-spelling-errors.patch (tabxml.cpp) * hurd_socket.patch (in Platform.pm) * remove-systemd-obsolete-target.patch
Diffstat (limited to 'mysql-test/lib')
-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 110cf8a20e0..29c47028b31 100644
--- a/mysql-test/lib/My/Platform.pm
+++ b/mysql-test/lib/My/Platform.pm
@@ -112,6 +112,8 @@ sub check_socket_path_length {
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;
+ # GNU/Hurd doesn't have hostpath(), but no limitation either
+ return 0 if $^O eq 'gnu';
require IO::Socket::UNIX;