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: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: danielc at analysisandsolutions dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC