/[packages]/cauldron/mariadb/pristine/SOURCES/mariadb-5.5-install-test.patch
ViewVC logotype

Contents of /cauldron/mariadb/pristine/SOURCES/mariadb-5.5-install-test.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584449 - (show annotations) (download)
Thu Feb 6 11:48:35 2014 UTC (10 years, 1 month ago) by schedbot
File size: 1498 byte(s)
Copying release 10.0.7-0.1.mga5 to pristine/ directory.
1 Improve the documentation that will be installed in the mysql-test RPM.
2
3
4 diff -Naur 5.5_orig/mysql-test/README 5.5/mysql-test/README
5 --- 5.5_orig/mysql-test/README 2011-11-01 16:20:49.000000000 +0100
6 +++ 5.5/mysql-test/README 2011-11-04 20:21:48.126050993 +0100
7 @@ -7,6 +7,16 @@
8 conflict with it. To run the test suite in a source directory, you
9 must do make first.
10
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
20 +
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
23 problem:
24 @@ -26,7 +36,8 @@
25
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).
31
32 You can create your own test cases. To create a test case, create a new
33 file in the t subdirectory using a text editor. The file should have a .test

  ViewVC Help
Powered by ViewVC 1.1.30