32e03b2cdd
Move content from stx-gplv2 into stx-integ Packages will be relocated to stx-integ: base/ bash cgcs-users cluster-resource-agents dpkg haproxy libfdt netpbm rpm database/ mariadb filesystem/ iscsi-initiator-utils filesystem/drbd/ drbd-tools kernel/kernel-modules/ drbd integrity intel-e1000e intel-i40e intel-i40evf intel-ixgbe intel-ixgbevf qat17 tpmdd ldap/ ldapscripts networking/ iptables net-tools Change-Id: Ibc2ad09bef7a7f40e337513a1694a22f38d7f4e9 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
63 lines
2.7 KiB
Diff
63 lines
2.7 KiB
Diff
Improve the documentation that will be installed in the mysql-test RPM.
|
|
|
|
---
|
|
mysql-test/README | 36 +++++++++++++++++++++++++-----------
|
|
1 file changed, 25 insertions(+), 11 deletions(-)
|
|
|
|
diff --git a/mysql-test/README b/mysql-test/README
|
|
index 0fba1cc..2e756e9 100644
|
|
--- a/mysql-test/README
|
|
+++ b/mysql-test/README
|
|
@@ -1,15 +1,28 @@
|
|
-This directory contains a test suite for the 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.
|
|
+This directory contains a test suite for the MariaDB daemon. To run
|
|
+the currently existing test cases, execute ./mysql-test-run in
|
|
+this directory.
|
|
|
|
-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. 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,
|
|
+who is created with nologin shell however, so the best bet is something like
|
|
+ $ su -
|
|
+ # cd /usr/share/mysql-test
|
|
+ # su -s /bin/bash mysql -c "./mysql-test-run --skip-test-list=rh-skipped-tests.list"
|
|
|
|
-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:
|
|
+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.
|
|
+
|
|
+The "--skip-test-list=rh-skipped-tests.list" option excludes tests that are
|
|
+known to fail on one or more Red-Hat-supported platforms. You can omit it
|
|
+if you want to check whether such failures occur for you. Documentation
|
|
+about the reasons for omitting such tests can be found in the file
|
|
+rh-skipped-tests.list.
|
|
+
|
|
+To clean up afterwards, remove the created "var" subdirectory, eg
|
|
+ # su -s /bin/bash - mysql -c "rm -rf /usr/share/mysql-test/var"
|
|
+
|
|
+If one or more tests fail on your system, please read the following manual
|
|
+section for instructions on how to report the problem:
|
|
|
|
https://mariadb.com/kb/en/reporting-bugs
|
|
|
|
@@ -26,7 +39,8 @@ other relevant options.
|
|
|
|
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
|
|
--
|
|
1.9.1
|
|
|