Bug #69821 SafeProcess.pm doesn't look for my_safe_process in bin
Submitted: 23 Jul 2013 10:31
Reporter: Michal Hrusecky Email Updates:
Status: Open Impact on me:
Category:MySQL Server: Packaging Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[23 Jul 2013 10:31] Michal Hrusecky
SafeProcess.pm from mysql test suite doesn't try to look for my_safe_process in /usr/bin where Linux distribution tend to put all binaries. So as a distribution we have to patch it to look there.

How to repeat:
Try putting my_safe_process into /usr/bin

Suggested fix:
Add /usr/bin into paths that are searched by SafeProcess.pm
[23 Jul 2013 15:12] Davi Arnaut
Why should it be placed in /usr/bin? It's a helper meant to be only used by mysql-test-run.pl. Shouldn't binary objects that pertain to a Perl module be stored with the module itself? A counterexample, if we later introduce a helper library that is part of the Perl module, it clearly wouldn't go to /usr/lib.