Bug #29065 mysql-test-run.pl aborts execution on missing log file from test tool
Submitted: 13 Jun 2007 8:34 Modified: 26 Jun 2007 18:26
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:4.1 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any

[13 Jun 2007 8:34] Magnus Blåudd
Description:
mysql-test-run.pl expects the test tool to generate a log file that it can read to see for example why a test was skipped. If the test tool does not generate a log file(actually the log file is generated by redirection) mysql-test-run.pl will abort execution. That abort is not necessary since it's not a fatal error.

This will happen everytime on ActiveState perl where we have problem with redirection.

How to repeat:
Modify 'find_testcase_skipped_reason' to remove the $path_timefile and then run "./mtr --do-test=a"

Suggested fix:
Make test continue even if the test log file does not exist.
[13 Jun 2007 8:35] 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/28628

ChangeSet@1.2665, 2007-06-13 10:35:20+02:00, msvensson@pilot.(none) +1 -0
  Bug#29065 mysql-test-run.pl aborts execution on missing log file from test tool
   - Make tesingt continue even if test log file does not exists
[22 Jun 2007 18:07] Bugs System
Pushed into 5.1.20-beta
[22 Jun 2007 18:09] Bugs System
Pushed into 5.0.46
[26 Jun 2007 18:26] Paul DuBois
Test suite change. No changelog entry.
[10 Jul 2007 13:29] Bugs System
Pushed into 4.1.24