Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5.33a
-
Fix Version/s: 5.5.34
-
Component/s: None
-
Labels:None
-
Environment:Slackware Linux 14.0 + kernel 3.10.4
Description
The test fails because file_contents.test does not know where to look for INFO_SRC and INFO_BIN.
The attached patch enables it to recognise a Slackware system. I tried not to break any other tests but it's been a while since I touched Perl
Gliffy Diagrams
Attachments
Issue Links
- is duplicated by
-
MDEV-5342 CLONE - Test suite test file_contents fails in Slackware Linux
-
- Closed
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
I uploaded a better patch that also works for mariadb-10.x. Simple diff:
diff -r1.2 -r1.3
14c14
< + $dir_docs = glob "$dir_bin/doc/mariadb-?.*";
—
> + $dir_docs = glob "$dir_bin/doc/mariadb-[0-9]*";
The reason for using glob at all was that when it was a mysql patch, there were other candidate directories like
mysql-connector-c++-1.1.3 etc.