#38558 [NEW]: [patch] run-tests.php: spaces in path

From: Date: Wed, 23 Aug 2006 04:25:38 +0000
Subject: #38558 [NEW]: [patch] run-tests.php: spaces in path
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101153@lists.php.net to get a copy of this message
From:             danielc at analysisandsolutions dot com
Operating system: Windows 2000
PHP version:      5.2.0RC2
PHP Bug Type:     Unknown/Other Function
Bug description:  [patch] run-tests.php: spaces in path

Description:
------------
run-tests.php doesn't account for spaces in the path to it.  This
oversight produces the following errors:

"Could not open input file: c:\Program" (2 times)
"parse error, unexpected $end in Command line code on line 1"

In addition, those errors cause $php_info section from parsing/outputting
correctly.  The following patch fixes it.

http://www.analysisandsolutions.com/php/run-tests--pathspace.diff

Thanks.


-- 
Edit bug report at http://bugs.php.net/?id=38558&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38558&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38558&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38558&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38558&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=38558&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38558&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38558&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38558&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38558&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38558&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=38558&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=38558&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38558&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38558&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38558&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38558&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38558&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38558&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38558&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38558&r=mysqlcfg


Thread (4 messages)

« previous php.bugs (#101153) next »