Fix for Zend/tests/bug40236.phpt

From: Date: Sat, 10 Jan 2009 16:37:50 +0000
Subject: Fix for Zend/tests/bug40236.phpt
Groups: php.internals 
Request: Send a blank email to internals+get-42544@lists.php.net to get a copy of this message
Hi, here's a quick fix for the "bug40236" test failing when run from inside a directory including spaces (e.g. "C:\Documents and Settings\" or /home/Timm Friebe/): Index: Zend/tests/bug40236.phpt =================================================================== RCS file: /repository/ZendEngine2/tests/bug40236.phpt,v retrieving revision 1.1.2.2.2.2 diff -u -r1.1.2.2.2.2 bug40236.phpt
--- Zend/tests/bug40236.phpt    14 Aug 2008 20:51:55 -0000      1.1.2.2.2.2
+++ Zend/tests/bug40236.phpt    10 Jan 2009 16:36:12 -0000
@@ -8,7 +8,7 @@ --FILE-- <?php $php = getenv('TEST_PHP_EXECUTABLE'); -$cmd = "$php -n -d memory_limit=4M -a ".dirname(__FILE__)."/bug40236.inc"; +$cmd = "\"$php\" -n -d memory_limit=4M -a \"".dirname(__FILE__)."\"/bug40236.inc"; echo $cmd; ?> - Timm

« previous php.internals (#42544) next »