Em Sáb, 2009-01-10 às 17:37 +0100, Timm Friebe escreveu:
> 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 
> 

Commited in 5_2, 5_3 and HEAD. Thanks Timm! ;)

-- 
Regards,
Felipe Pena


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to