mysql-testsuite: testsuite fails due to unexpected installation layout

Bug #617461 reported by Steve Beattie
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-5.1 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Attempting to run the testsuite from the version in maverick (5.1.49-1ubuntu4) fails like so:

$ cd /usr/lib/mysql-testsuite ; ./mysql-test-run.pl --vardir=$(mktemp -d /tmp/mysql-test-XXXXXXXXXXX)
Logging: ./mysql-test-run.pl --vardir=/tmp/mysql-test-qbhh5Yy8FwS
100813 8:53:04 [Note] Plugin 'FEDERATED' is disabled.
MySQL Version 5.1.49
Checking supported features...
 - skipping ndbcluster, mysqld not compiled with ndbcluster
 - SSL connections supported
Collecting tests...
** ERROR: Could not find 'binlog' in '/usr/mysql-test/suite/binlog' or '/usr/mysql-test/binlog'
 at lib/mtr_cases.pm line 269

The current version in lucid-updates fails similarly.

Related branches

Revision history for this message
Steve Beattie (sbeattie) wrote :

Here's the dpatch I created which causes the basic testsuite to pass both at build time and post-installation.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mysql-5.1 - 5.1.49-1ubuntu5

---------------
mysql-5.1 (5.1.49-1ubuntu5) maverick; urgency=low

  * New patch: 99_fix_testsuite_for_installed_env.dpatch: fix
    mysql-testsuite to work with the installation location (LP: #617461)
  * debian/apparmor-profile: add mmap access to mysql plugin location
    (LP: #617463)
 -- Steve Beattie <email address hidden> Thu, 12 Aug 2010 15:44:46 -0700

Changed in mysql-5.1 (Ubuntu):
status: New → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

high five! you reported and fixed it before i even started assuming it was a bug. :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.