~ubuntu-branches/ubuntu/raring/mysql-5.5/raring-proposed

« back to all changes in this revision

Viewing changes to packaging/rpm-uln/mysql-install-test.patch

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-01-16 08:29:25 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130116082925-znscu5xswxo6pmw2
Tags: 5.5.29-0ubuntu1
* SECURITY UPDATE: Update to 5.5.29 to fix security issues (LP: #1100264)
  - http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
* debian/patches/CVE-2012-5611.patch: removed, included upstream.
* debian/patches/38_scripts__mysqld_safe.sh__signals.patch: refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Improve the documentation that will be installed in the mysql-test RPM.
 
2
 
 
3
 
 
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
 
7
@@ -6,6 +6,16 @@
 
8
 actually have a co-existing MySQL installation. The tests will not
 
9
 conflict with it.
 
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
@@ -25,7 +35,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
 
 
33
 You can create your own test cases. To create a test case, create a new