Bug #51661 no test for mysqld_safe in the test suite

Submitted: 2 Mar 2010 23:07 Modified: 16 Mar 2016 6:39
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.5.99, 5.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: mysqld_safe, test

[2 Mar 2010 23:07] Giuseppe Maxia
Description:
The server test suite does not include any test to verify that mysqld_safe is working properly.
For this reason, when an error occurs, it is not detected, unless someone does a manual test, as it happened with Bug#51502.

How to repeat:
Inspect the test suite. 
cd ./mysql-test
grep -r mysqld_safe *

Suggested fix:
Add a test that at least checks for the presence of mysqld_safe and verifies that it executes correctly
sh -n /path/to/mysqld_safe
Use a script that actually tests the features of mysqld_test, like MySQL Sandbox.
[2 Mar 2010 23:57] MySQL Verification Team
Thank you for the bug report.
[3 Mar 2010 9:31] Philip Stoev
Horst, can you please take a look at this?

Also please note that we have package verification, implemented by the build team. If you think that there is anything they can put into the verification phase, please request it from them.
[16 Mar 2016 6:39] Erlend Dahl
Fixed in 5.7.3 by WL#6446 Test of mysqld_safe missing in main test suite.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.