From Fedora Project Wiki

(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 | su -c 'yum -y install mysql-test'}}  
# 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

  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. Switch to root user: su -
  2. Install MySQL test suite: yum -y install mysql-test
  3. Start MySQL server: service mysqld start
  4. Go to the mysql-test directory: cd /usr/share/mysql-test/
  5. Run MySQL test suite: ./mysql-test-run.pl or ./mysql-test-run
  6. Wait until the tests finish.

Expected Results

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