Bug #24182 "Test" RPMs are incomplete: Test suite + scripts to run it are missing
Submitted: 10 Nov 2006 11:50 Modified: 5 Dec 2006 20:06
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.1 OS:Linux (Linux)
Assigned to: Joerg Bruehe CPU Architecture:Any

[10 Nov 2006 11:50] Joerg Bruehe
Description:
See title. This is the contents listing:

rpm2cpio MySQL-test-5.1.12-0.glibc23.i386.rpm | cpio -itv
-rwxr-xr-x   1 root     root      1759124 Oct 27 18:45 ./usr/bin/mysql_client_test
-rwxr-xr-x   1 root     root      6921008 Oct 27 18:45 ./usr/bin/mysql_client_test_embedded
-rwxr-xr-x   1 root     root      6673812 Oct 27 18:45 ./usr/bin/mysqltest_embedded
drwxr-xr-x   2 root     root            0 Oct 27 18:43 ./usr/share/mysql-test
29990 blocks

How to repeat:
Use "rpm2cpio" or "rpm -qlp" on a 5.1 "test" RPM.

Suggested fix:
Change the spec file(s).
[30 Nov 2006 10:03] Joerg Bruehe
Found a likely reason yesterday,
did a test build with the modification: Success!

Committing + pushing the fix.
[30 Nov 2006 10:08] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/16191

ChangeSet@1.2381, 2006-11-30 11:03:49+01:00, joerg@trift2. +1 -0
  support-files/mysql.spec.sh  :  Call "make install" using "benchdir_root=%{_datadir}"  (bug#24182).
[30 Nov 2006 10:24] Joerg Bruehe
Will be effective in 5.1.14.
[5 Dec 2006 20:06] Paul DuBois
No changelog entry needed.