#168: Initscript review: mysql
-----------------------+----------------------------------------------------
Reporter: jskladan | Owner: smferguson
Type: task | Status: assigned
Priority: minor | Milestone: Initscripts review
Component: tests | Version: 1.0
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by smferguson):
* status: new => assigned
Comment:
found the following issues:
* incorrect pid file location causes failure of pid test - fixed
* incorrect exit code checked causes failure of nonprivileged user
restart test - fixed
the attached runtest.sh file addresses both of these issues, however mysql
returns 3 'program is not running', not 1 'program is dead and /var/run
pid file exists' during the pid test - according to
https://fedoraproject.org/wiki/Packaging/SysVInitScript#Required_Actions
this is incorrect behavior - not sure if we need to change the test or
report a bug to mysql.
attached the following:
* journal-before.xml/txt - results of runtest.sh as it is in the
repository
* runtest.sh - updated test script
* journal-after.xml/txt - results of runtest.sh after modification
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/168#comment:2>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project