From Fedora Project Wiki

(fixed typos)
(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.)
Line 6: Line 6:
# Install MySQL test suite: {{command | su -c 'yum -y install mysql-test'}}  
# Install MySQL test suite: {{command | su -c 'yum -y install mysql-test'}}  
# Start MySQL server:  {{command |service mysqld start}}
# Start MySQL server:  {{command |service mysqld start}}
# Run MySQL test suite: {{command |/usr/share/mysql-test/mysql-test-run.pl}}  
# Go to the mysql-test directory: {{command |cd /usr/share/mysql-test/}}
# Run MySQL test suite:  {{command |./mysql-test-run.pl or ./mysql-test-run}}  
# Wait until the tests finish.
# Wait until the tests finish.
|results=
|results=

Revision as of 23:44, 14 June 2011

Description

This test case tests MySQL database server using upstream test suite.

Setup

  1. Ensure that Package-x-generic-16.pngmysql-server, Package-x-generic-16.pngmysql, Package-x-generic-16.pngmysql-libs packages are installed.

How to test

  1. Install MySQL test suite: su -c 'yum -y install mysql-test'
  2. Start MySQL server: service mysqld start
  3. Go to the mysql-test directory: cd /usr/share/mysql-test/
  4. Run MySQL test suite: ./mysql-test-run.pl or ./mysql-test-run
  5. Wait until the tests finish.

Expected Results

  1. The test-suite should finishes without error, some tests might be disabled or skipped.