Commit ea46a936 authored by Sergey Vojtovich's avatar Sergey Vojtovich

MDEV-5127 - Test suite test file_contents fails in Slackware Linux

Slackware install docs to different folder, which wasn't handled
by file_contents test properly. E.g. on Redhat/Debian docs are
expected to be in /usr/share/doc/mariadb-server-(version), but
on Slackware they are in /usr/doc/mariadb-(version).

For details see Slackware mariadb build script:
http://slackbuilds.org/slackbuilds/14.0/system/mariadb/mariadb.SlackBuild
parent a06cd2cb
...@@ -33,6 +33,8 @@ if ($dir_bin eq '/usr/') { ...@@ -33,6 +33,8 @@ if ($dir_bin eq '/usr/') {
$dir_docs = glob "$dir_docs/mariadb-server-*"; $dir_docs = glob "$dir_docs/mariadb-server-*";
$dir_docs = glob "$dir_docs/MySQL-server*" unless -d $dir_docs; $dir_docs = glob "$dir_docs/MySQL-server*" unless -d $dir_docs;
} }
# Slackware
$dir_docs = glob "$dir_bin/doc/mariadb-[0-9]*" unless -d $dir_docs;
} else { } else {
# tar.gz package, Windows, or developer work (in BZR) # tar.gz package, Windows, or developer work (in BZR)
$dir_docs = $dir_bin; $dir_docs = $dir_bin;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment