[MDEV-5127] Test suite test file_contents fails in Slackware Linux Created: 2013-10-11  Updated: 2013-11-27  Resolved: 2013-10-21

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.33a
Fix Version/s: 5.5.34

Type: Bug Priority: Minor
Reporter: Duncan Roe Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None
Environment:

Slackware Linux 14.0 + kernel 3.10.4


Attachments: File better_file_contents.test.diff.gz     File file_contents.test.diff.gz    
Issue Links:
Duplicate
is duplicated by MDEV-5342 CLONE - Test suite test file_contents... Closed

 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



 Comments   
Comment by Duncan Roe [ 2013-10-16 ]

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.

Comment by Sergey Vojtovich [ 2013-10-21 ]

Fixed in 5.5.34, revision-id: svoj@mariadb.org-20131021122924-o9wgpxqcv74mhlrv

Comment by Sergey Vojtovich [ 2013-10-21 ]

Duncan, thanks for your contribution. I pushed slightly modified fix to 5.5.34.

Generated at Thu Feb 08 07:01:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.