pajoye                                   Tue, 13 Dec 2011 13:46:27 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=320939

Log:
- ignore notices here, not what we test (array to string conversion)

Changed paths:
    U   
php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt
    U   php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt

Modified: 
php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
  2011-12-13 13:36:26 UTC (rev 320938)
+++ 
php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
  2011-12-13 13:46:27 UTC (rev 320939)
@@ -36,6 +36,9 @@

 );

+/* disable notice so we don't get the array to string conversion notice for 
"$name" where $name = array() */
+error_reporting(E_ALL ^ E_NOTICE);
+
 echo "*** Testing rename() with obscure files ***\n";
 $file_path = dirname(__FILE__)."/renameVar13";
 $aFile = $file_path.'/afile.tmp';

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt
  2011-12-13 13:36:26 UTC (rev 320938)
+++ 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt
  2011-12-13 13:46:27 UTC (rev 320939)
@@ -36,6 +36,9 @@

 );

+/* disable notice so we don't get the array to string conversion notice for 
"$name" where $name = array() */
+error_reporting(E_ALL ^ E_NOTICE);
+
 echo "*** Testing rename() with obscure files ***\n";
 $file_path = dirname(__FILE__)."/renameVar13";
 $aFile = $file_path.'/afile.tmp';

Modified: 
php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt     
2011-12-13 13:36:26 UTC (rev 320938)
+++ php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt     
2011-12-13 13:46:27 UTC (rev 320939)
@@ -36,6 +36,9 @@

 );

+/* disable notice so we don't get the array to string conversion notice for 
"$name" where $name = array() */
+error_reporting(E_ALL ^ E_NOTICE);
+
 echo "*** Testing rename() with obscure files ***\n";
 $file_path = dirname(__FILE__)."/renameVar13";
 $aFile = $file_path.'/afile.tmp';

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to