QA / Test case MySQL

Athmane Madjoudj athmane at fedoraproject.org
Wed Jun 15 00:16:37 UTC 2011


On 06/15/2011 12:57 AM, Vinicius Silva wrote:
> I did a small change on the "How to Test" section because I tried it a
> couple of times, and I ended up seeing the following:
> "**** ERROR **** You must start mysql-test-run from the mysql-test/
> directory"
> The reason for that is on lines 35 to 42 on the script. In order to run
> the script as described, the user has to change directories.
>
> Quick side note:
> After I ran it (as a regular user), the following was displayed at the end:
> "showing handles for /usr/share/mysql-test/var
> ========================================
> Couldn't create directory '/usr/share/mysql-test/var'  after 4 attempts
> and 2 sleep(1): No such file or directory at ./mysql-test-run.pl
> <http://mysql-test-run.pl> line 2487"
<snip>

Yes, you should be root or specify var directory with: --vardir=PATH_TO_VAR

I think it because test-suite logs results there.

Thanks for fixing it.

-- 
Athmane Madjoudj


More information about the test mailing list