From: mattficken
Operating system: Windows
PHP version: 5.3.10
Package: Testing related
Bug Type: Bug
Bug description:popen_close_error-win32 can't run sort.exe
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 bug report at https://bugs.php.net/bug.php?id=61459&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61459&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61459&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61459&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61459&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61459&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61459&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61459&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61459&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61459&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61459&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61459&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61459&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61459&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61459&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61459&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61459&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61459&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61459&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61459&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61459&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61459&r=mysqlcfg