Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 3531dcc31ae075d4d4c28a91a67ec65b > files > 21

mariadb-10.0.29-1.3.mga5.src.rpm

Improve the documentation that will be installed in the mysql-test RPM.


diff -Naur 5.5_orig/mysql-test/README 5.5/mysql-test/README
--- 5.5_orig/mysql-test/README	2011-11-01 16:20:49.000000000 +0100
+++ 5.5/mysql-test/README	2011-11-04 20:21:48.126050993 +0100
@@ -7,6 +7,16 @@
 conflict with it. To run the test suite in a source directory, you
 must do make first.
 
+For use in Red Hat distributions, you should run the script as user mysql,
+so the best bet is something like
+	cd /usr/share/mysql-test
+	sudo -u mysql ./mysql-test-run
+This will use the installed mysql executables, but will run a private copy
+of the server process (using data files within /usr/share/mysql-test),
+so you need not start the mysqld service beforehand.
+To clean up afterwards, remove the created "var" subdirectory, eg
+	sudo -u mysql rm -rf /usr/share/mysql-test/var
+
 All tests must pass. If one or more of them fail on your system, please
 read the following manual section for instructions on how to report the
 problem:
@@ -26,7 +36,8 @@
 
 With no test cases named on the command line, mysql-test-run falls back
 to the normal "non-extern" behavior. The reason for this is that some
-tests cannot run with an external server.
+tests cannot run with an external server (because they need to control the
+options with which the server is started).
 
 You can create your own test cases. To create a test case, create a new
 file in the t subdirectory using a text editor. The file should have a .test