From: danielc at analysisandsolutions dot com Operating system: Windows PHP version: 5CVS-2004-04-30 (dev) PHP Bug Type: Unknown/Other Function Bug description: PATCH run-tests tripped up by spaces in names
Description: ------------ While running tests on my Windows machine I ran into a problem with run-tests.php. .phpt files which have spaces in their names/paths cause the tests to fail. The .out file contains text along the lines of Could not open C:\Programs As you can guess, the .phpt files were in a subdirectory of c:\program files\. The following patch places quotes around the file names when creating the $cmd: http://www.analysisandsolutions.com/php/run-tests.spaceinfilename.diff -- Edit bug report at http://bugs.php.net/?id=28229&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28229&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28229&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28229&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28229&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28229&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28229&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28229&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28229&r=support Expected behavior: http://bugs.php.net/fix.php?id=28229&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28229&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28229&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28229&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28229&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28229&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28229&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28229&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28229&r=float