Bug #44314 mtr --vs-config doesn't allow an option
Submitted: 16 Apr 2009 10:50 Modified: 5 Feb 2010 1:49
Reporter: jack andrews Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.0 OS:Windows
Assigned to: jack andrews CPU Architecture:Any

[16 Apr 2009 10:50] jack andrews
Description:
mtr doesn't like this:

$ ./mysql-test-run.pl --vs-config=debug --suite=ndb
Logging: ./mysql-test-run.pl  --vs-config=debug --suite=ndb
090416 20:45:53 [Warning] Forcing shutdown of 1 plugins
MySQL Version 5.1.32
Invalid option "--vs-config=debug"

but be careful -- i've seen the {debug,release} directories have initial caps sometimes -- i don't know if cygwin or activestate perl cares here.

How to repeat:
see above

Suggested fix:
here's the fix:

Index: 70/mysql-test/mysql-test-run.pl
===================================================================
--- 70.orig/mysql-test/mysql-test-run.pl	2009-04-01 14:56:46.000000000 +1100
+++ 70/mysql-test/mysql-test-run.pl	2009-04-16 20:15:05.257800000 +1000
@@ -783,7 +783,7 @@
              'ssl|with-openssl'         => \$opt_ssl,
              'skip-ssl'                 => \$opt_skip_ssl,
              'compress'                 => \$opt_compress,
-             'vs-config'                => \$opt_vs_config,
+             'vs-config=s'                => \$opt_vs_config,
 
 	     # Max number of parallel threads to use
 	     'parallel=i'               => \$opt_parallel,
[5 Feb 2010 1:49] jack andrews
i pushed this 9 months ago, but didn't close it.

revno: 2869
committer: jack andrews <jack@sun.com>
branch nick: 70
timestamp: Thu 2009-04-16 20:51:29 +1000
message:
  mtr --vs-config doesn't allow an option (reported as bug 44314