Hello everyone,
I've just created a test case for MySQL database server which uses upstream test-suite (packaged as mysql-test).
https://fedoraproject.org/wiki/QA:Testcase_MySQL
Regards.
On Fri, 2011-06-03 at 16:25 +0000, Athmane Madjoudj wrote:
Hello everyone,
I've just created a test case for MySQL database server which uses upstream test-suite (packaged as mysql-test).
Thanks for taking a shot at the categorization! One minor correction: use the *source* package names, not binary package names. mysql, mysql-server and msql-libs all come from the mysql .src.rpm, so you only need to put it in Package_mysql_test_cases category, no need for Package_mysql-server_test_cases and Package_mysql-libs_test_cases . Updates go off the source RPM, not the binary RPMs, and we follow that.
I'll clarify this in the SOP.
Thanks again for this!
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 line 2487"
Vinny Soares (vinnysoares) viniciuspontocom@gmail.com
On Wed, Jun 8, 2011 at 1:53 AM, Adam Williamson awilliam@redhat.com wrote:
On Fri, 2011-06-03 at 16:25 +0000, Athmane Madjoudj wrote:
Hello everyone,
I've just created a test case for MySQL database server which uses upstream test-suite (packaged as mysql-test).
Thanks for taking a shot at the categorization! One minor correction: use the *source* package names, not binary package names. mysql, mysql-server and msql-libs all come from the mysql .src.rpm, so you only need to put it in Package_mysql_test_cases category, no need for Package_mysql-server_test_cases and Package_mysql-libs_test_cases . Updates go off the source RPM, not the binary RPMs, and we follow that.
I'll clarify this in the SOP.
Thanks again for this!
Adam Williamson Fedora QA Community Monkey IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org http://www.happyassassin.net
-- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
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.