PATCH run-tests tripped up by spaces in names
| Bug #28229 | PATCH run-tests tripped up by spaces in names | ||||
|---|---|---|---|---|---|
| Submitted: | 2004-04-30 07:04 UTC | Modified: | 2004-04-30 10:24 UTC | ||
| From: | danielc at analysisandsolutions dot com | Assigned: | |||
| Status: | Closed | Package: | Unknown/Other Function | ||
| PHP Version: | 5CVS-2004-04-30 (dev) | OS: | Windows | ||
| Private report: | No | CVE-ID: | None | ||
[2004-04-30 07:04 UTC] danielc at analysisandsolutions dot com
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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-04-30 10:24 UTC] helly@php.net