|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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
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:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-30 10:24 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 06:01:31 2024 UTC