[MDEV-3071] LP:442254 - mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT' Created: 2009-10-04  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Sergei Petrunia Assignee: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug442254.xml    

 Description   

The problem occurs only when one is on Windows and is trying to run with embedded server. It fails with the following way:

C:\dev\mysql-5.1.38-maria-beta1\mysql-test>perl mysql-test-run.pl --embedded-server plugin
"our" variable $opt_suites masks earlier declaration in same scope at mysql-test-run.pl line 134.
Logging: mysql-test-run.pl --embedded-server plugin
MySQL Version 5.1.38
Checking supported features...

  • skipping ndbcluster
  • skipping SSL
    Collecting tests...
    vardir: c:/dev/mysql-5.1.38-maria-beta1/mysql-test/var
    Checking leftover processes...
    Removing old var directory...
    Creating var directory 'c:/dev/mysql-5.1.38-maria-beta1/mysql-test/var'...
    Installing system database...
    Using server port 1397

==============================================================================

TEST RESULT TIME (ms)
------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
worker[1] mysql-test-run: WARNING: running this script as root will cause some tests to be skipped
worker[1] mysql-test-run: *** ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT' which is not set
mysql-test-run: *** ERROR: Test suite aborted

C:\dev\mysql-5.1.38-maria-beta1\mysql-test>



 Comments   
Comment by Sergei Petrunia [ 2009-10-04 ]

Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'
Also filed as http://bugs.mysql.com/bug.php?id=47812

Comment by Sergei Petrunia [ 2009-10-04 ]

Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'
Fix proposal: https://lists.launchpad.net/maria-developers/msg01103.html

Comment by Hakan Küçükyılmaz (Inactive) [ 2009-11-27 ]

Re: mysql-test-run --embedded fails on Windows with: ERROR: .opt file references 'EXAMPLE_PLUGIN_OPT'
Sergey, I guess, we released this fix already. Can you please comment?

Thanks,

Comment by Rasmus Johansson (Inactive) [ 2010-02-11 ]

Launchpad bug id: 442254

Generated at Thu Feb 08 06:46:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.