1
Improve the documentation that will be installed in the mysql-test RPM.
4
diff -Naur mysql-5.1.43.orig/mysql-test/README mysql-5.1.43/mysql-test/README
5
--- mysql-5.1.43.orig/mysql-test/README 2010-01-15 12:14:43.000000000 -0500
6
+++ mysql-5.1.43/mysql-test/README 2010-02-13 21:18:06.000000000 -0500
8
actually have a co-existing MySQL installation. The tests will not
11
+For use in Red Hat distributions, you should run the script as user mysql,
12
+so the best bet is something like
13
+ cd /usr/share/mysql-test
14
+ sudo -u mysql ./mysql-test-run
15
+This will use the installed mysql executables, but will run a private copy
16
+of the server process (using data files within /usr/share/mysql-test),
17
+so you need not start the mysqld service beforehand.
18
+To clean up afterwards, remove the created "var" subdirectory, eg
19
+ sudo -u mysql rm -rf /usr/share/mysql-test/var
21
All tests must pass. If one or more of them fail on your system, please
22
read the following manual section for instructions on how to report the
26
With no test cases named on the command line, mysql-test-run falls back
27
to the normal "non-extern" behavior. The reason for this is that some
28
-tests cannot run with an external server.
29
+tests cannot run with an external server (because they need to control the
30
+options with which the server is started).
33
You can create your own test cases. To create a test case, create a new