php.net |  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:
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-30 10:24 UTC] helly@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 14:02:18 2014 UTC