diff options
author | unknown <paul@snake-hub.snake.net> | 2006-03-01 17:37:07 -0600 |
---|---|---|
committer | unknown <paul@snake-hub.snake.net> | 2006-03-01 17:37:07 -0600 |
commit | 7526342706bb18601e4a1e19c75fbbd95be210de (patch) | |
tree | f706e89796d53280bf02952569589f243dc1be58 /mysql-test/README | |
parent | a73b7dc2439879e36ee522d29f76f229f70213d2 (diff) | |
download | mariadb-git-7526342706bb18601e4a1e19c75fbbd95be210de.tar.gz |
README:
Revise mysql-test README.
mysql-test/README:
Revise mysql-test README.
Diffstat (limited to 'mysql-test/README')
-rw-r--r-- | mysql-test/README | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/mysql-test/README b/mysql-test/README index 6ad97adbd2b..0e20ca884a3 100644 --- a/mysql-test/README +++ b/mysql-test/README @@ -1,6 +1,19 @@ This directory contains a test suite for mysql daemon. To run the currently existing test cases, simply execute ./mysql-test-run in this directory. It will fire up the newly built mysqld and test it. + +If you want to run a test with a running MySQL server use the --extern +option to mysql-test-run. Please note that in this mode the test suite +expects user to specify test names to run. Otherwise it falls back to the +normal "non-extern" behaviour. The reason is that some tests +could not run with external server. Here is the sample command +to test "alias" and "analyze" tests on external server: + +mysql-test-run --extern alias analyze + +To match your setup you might also need to provide --socket, --user and +other relevant options. + Note that you do not have to have to do make install, and you could actually have a co-existing MySQL installation - the tests will not conflict with it. @@ -8,13 +21,12 @@ conflict with it. All tests must pass. If one or more of them fail on your system, please read the following manual section of how to report the problem: -http://dev.mysql.com/doc/mysql/en/MySQL_test_suite.html +http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html You can create your own test cases. To create a test case: - cd t - vi test_case_name.test + xemacs t/test_case_name.test in the file, put a set of SQL commands that will create some tables, load test data, run some queries to manipulate it. |