Edit report at https://bugs.php.net/bug.php?id=72676&edit=1

 ID:                 72676
 Updated by:         c...@php.net
 Reported by:        matthieu dot sarter dot external at atos dot net
 Summary:            Test cli_process_title_unix fails on AIX
 Status:             Open
 Type:               Bug
 Package:            Testing related
 Operating System:   AIX
 PHP Version:        7.0.9
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Thanks for the report and the patch.

Shouldn't the `13` in `substr(PHP_OS, 0, 13)` be a `3`? Or is *this* check 
required?


Previous Comments:
------------------------------------------------------------------------
[2016-07-26 13:09:09] matthieu dot sarter dot external at atos dot net

Description:
------------
The test sapi/cli/tests/cli_process_title_unix.phpt fails on AIX.

The process title is properly set by PHP, but the way it is retrieved by the 
test is wrong on AIX, as the ps command does not have the same behavior as on 
Linux : the "-o command" parameter just gives the path to the command, the "-o 
args" parameter must be used to have the full command with arguments (or title).

See AIX documentation here : 
http://www-01.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.cmds4/ps.htm



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=72676&edit=1

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to