test suite requires 5.0.86 even if TEST_VERSION is something else

Bug #587766 reported by Giuseppe Maxia
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Sandbox
Confirmed
High
Giuseppe Maxia

Bug Description

when running the test suite, if there is 5.0.86 in $SANDBOX/BINARY, the suite runs correctly.
But if 5.0.86 (which is the default version for testing) is missing, then the suite fails.
We need a way of isolating the versions needed for testing, so that we can remove all hard coded versions in the tests

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

I've noticed something similar. For me, "TEST_VERSION=5.0.82 make test" only fails on 08_test_single_port_checking.t and 09_test_multiple_port_checking.t. But "TEST_VERSION=/some/path/5.0.82" fails on:

Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/03_test_sandbox.t ?? ?? ??
t/04_test_sbtool.t ?? ?? ??
t/05_test_smoke.t ?? ?? ??
t/06_test_user_defined.t ?? ?? ??
t/07_test_user_defined.t ?? ?? ??
t/08_test_single_port_checking.t ?? ?? ??
t/09_test_multiple_port_checking.t ?? ?? ??
t/10_check_start_restart.t ?? ?? ??
t/11_replication_parameters.t ?? ?? ??
t/12_custom_user_pwd.t ?? ?? ??

And "TEST_VERSION=/other/path/mysql-5.0.82.tar.gz." fails on:

Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/03_test_sandbox.t 43 29 15-43
t/06_test_user_defined.t 3 1 2
t/08_test_single_port_checking.t ?? ?? ??
t/09_test_multiple_port_checking.t ?? ?? ??
t/10_check_start_restart.t 35 7 29-35
t/12_custom_user_pwd.t 6 2 2 5

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.