Bug #65678 [Opn->Fbk]: the test cli_process_title_windows will fails on particular environnement
Edit report at https://bugs.php.net/bug.php?id=65678&edit=1
ID: 65678
Updated by: ab@php.net
Reported by: pierre dot renaudet at gmail dot com
Summary: the test cli_process_title_windows will fails on
particular environnement
-Status: Open
+Status: Feedback
Type: Bug
Package: Testing related
Operating System: Windows Only
PHP Version: master-Git-2013-09-16 (Git)
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2013-09-16 19:11:13] ab@php.net
Before the patch is applied, could you please post the diff of the phpt?
Thanks
------------------------------------------------------------------------
[2013-09-16 09:48:04] pierre dot renaudet at gmail dot com
Description:
------------
The test : sapi/cli/tests/cli_process_title_windows.phpt
Will fail when user has a User script at startup of Powershell.
To correct this issue, we can use two parameters :
"-ExecutionPolicy RemoteSigned" that Enable all script on computer (so User are
enable
"-NoProfile" I think it's a better solution that's correct the initial
problem...
Second issue, the test for Windows 8 will fails if the test was run as
administrator and on a non-English OS, because the String searched is English-OS
only.
To correct this problem, search if the end of title process is ": Windows
Powershell"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65678&edit=1
Thread (5 messages)