From Fedora Project Wiki
Vinnysoares (talk | contribs) (Added another step to avoid the testers to see the following message when trying to run the tests from outside the /mysql-test directory like I did.) |
(Added switch to root) |
||
Line 4: | Line 4: | ||
# Ensure that {{package|mysql-server}}, {{package|mysql}}, {{package|mysql-libs}} packages are installed. | # Ensure that {{package|mysql-server}}, {{package|mysql}}, {{package|mysql-libs}} packages are installed. | ||
|actions= | |actions= | ||
# Install MySQL test suite: {{command | | # Switch to root user: {{command | su -}} | ||
# Install MySQL test suite: {{command | yum -y install mysql-test}} | |||
# Start MySQL server: {{command |service mysqld start}} | # Start MySQL server: {{command |service mysqld start}} | ||
# Go to the mysql-test directory: {{command |cd /usr/share/mysql-test/}} | # Go to the mysql-test directory: {{command |cd /usr/share/mysql-test/}} |
Revision as of 00:20, 15 June 2011
Description
This test case tests MySQL database server using upstream test suite.
Setup
- Ensure that
mysql-server
,mysql
,mysql-libs
packages are installed.
How to test
- Switch to root user:
su -
- Install MySQL test suite:
yum -y install mysql-test
- Start MySQL server:
service mysqld start
- Go to the mysql-test directory:
cd /usr/share/mysql-test/
- Run MySQL test suite:
./mysql-test-run.pl or ./mysql-test-run
- Wait until the tests finish.
Expected Results
- The test-suite should finishes without error, some tests might be disabled or skipped.