Bug #10467 mysql-test-run.pl, wrong search for testcase
Submitted: 9 May 2005 10:07 Modified: 15 May 2005 14:00
Reporter: Matthias Leich Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.0 OS:
Assigned to: Kent Boortz CPU Architecture:Any

[9 May 2005 10:07] Matthias Leich
Description:
mysql-test-run.pl fails to take the intended test case if I have the 
following situation
1. There exists a file t/<test_case>.test     and
2. there exists a file suite/<test_suite>/t/<test_case>.test   and
3. the command line call is
    ./mysql-test-run.pl ... --suite=<test_suite> --do-test=<test_case>

mysql-test-run.pl executes t/<test_case>.test instead of
suite/<test_suite>/t/<test_case>.test.

My environment:
   - Intel PC with Linux(SuSE 9.1)
   - MySQL compiled from source
        Version 5.0 ChangeSet@1.1934.2.2, 2005-05-07
I did not check the problem in MySQL 4.1.

How to repeat:
Please try to replay the constellation above.
[15 May 2005 14:00] Kent Boortz
Tried the above in both 4.1 and 5.0, can't repeat. I created a file

  mysql-test/suite/jp/t/alias.test

and filled with garbage. Then I run

  ./mysql-test-run.pl --suite=jp --do-test=alias

and the test in "jp" suite was picked.