Bug #61459 [Asn->Csd]: popen_close_basic-win32 can't run sort.exe
| From: | ab@php.net | Date: | Wed, 28 Mar 2012 17:56:49 +0000 |
| Subject: | Bug #61459 [Asn->Csd]: popen_close_basic-win32 can't run sort.exe | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-168934@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61459&edit=1
ID: 61459
Updated by: ab@php.net
Reported by: ITALOLINS59 at HOTMAIL dot COM
Summary: popen_close_basic-win32 can't run sort.exe
-Status: Assigned
+Status: Closed
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 5.3.10
-Assigned To: mattficken
+Assigned To: ab
Block user comment: Y
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-03-28 17:54:49] point@php-dev-dell.(none)@php.net
Automatic comment on behalf of point@php-dev-dell.(none)
Revision: http://git.php.net/?p=php-src.git;a=commit;h=eeab3be3037e2c537393f630b496017c9f888736
Log: Fix bug #61459 popen_close_basic-win32 can't run sort.exe
------------------------------------------------------------------------
[2012-03-21 05:40:41] pajoye@php.net
Hi,
Please add a SKIPIF section testing if sort.exe exists in this path.
Thanks!
------------------------------------------------------------------------
[2012-03-20 22:51:43] mattficken@php.net
The following patch has been added/updated:
Patch Name: popen_close_error-win32
Revision: 1332283902
URL: https://bugs.php.net/patch-display.php?bug=61459&patch=popen_close_error-win32&revision=1332283902
------------------------------------------------------------------------
[2012-03-20 22:51:35] ITALOLINS59 at HOTMAIL dot COM
Description:
------------
popen("sort", "w") fails if variables_order="GPCS"
this is set in the default INI file. it doesn't seem to be changeable in the --INI-- section of
PHPT test. also, doing: ini_set('variables_order', ''); doesn't work!
the only solutions are to either put the absolute path here, or remove variables_order= from PHP.ini
(setting it in run-test's default INI will fail too).
since we can't depend on PHP.ini being set a certain way, have to put the absolute path here.
Test fails
Expected result:
----------------
test pass
Actual result:
--------------
test fail
004+ 'sort' is not recognized as an internal or external command,
005+ operable program or batch file.
004- aaa
005- ddd
006- ggg
007- sss
Expected result:
----------------
Test pass
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61459&edit=1