Description:
When running mysql-test-run with im_utils I get the following warnings in the im.err file:
070529 13:48:15 [ERROR] Can't find messagefile /my/monty/share/mysql/english/errmsg.sys'
070529 13:48:15 [Warning] Can't create test file /my/monty/var/narttu.lower-test
070529 13:48:15 [Warning] Can't create test file /my/monty/var/narttu.lower-test
/home/my/mysql-5.1/sql/mysqld: Can't change dir to '/my/monty/var/' (Errcode: 2)
/home/my/mysql-5.1/sql/mysqld: Unknown error 1146
070529 13:48:15 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
The paths are wrong and indicates that the mysqld instance that the instance manager starts gets wrong startup options (either a missing --no-defaults or the generated configuration files for the instance manager is wrong)
This is now a critical error as we should be able to run the test suite without any [ERROR] or [Warning] tags in any of the .err files.
Another problem, that makes debugging harder, is that when you run mysql-test-run with --debug, we don't get a trace file for the instance manager.
How to repeat:
mysql-test-run im_utils
cat var/log/im.err