mbeccati                                 Wed, 31 Aug 2011 22:12:53 +0000

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

Log:
Fixed false positive failure on gcov

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/curl/tests/curl_setopt_basic002.phpt
    U   php/php-src/branches/PHP_5_4/ext/curl/tests/curl_setopt_basic002.phpt
    U   php/php-src/trunk/ext/curl/tests/curl_setopt_basic002.phpt

Modified: php/php-src/branches/PHP_5_3/ext/curl/tests/curl_setopt_basic002.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/curl/tests/curl_setopt_basic002.phpt       
2011-08-31 21:12:46 UTC (rev 315935)
+++ php/php-src/branches/PHP_5_3/ext/curl/tests/curl_setopt_basic002.phpt       
2011-08-31 22:12:53 UTC (rev 315936)
@@ -26,7 +26,7 @@

 fclose($handle);
 unset($handle);
-var_dump( file_get_contents($temp_file) );
+var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
 @unlink($temp_file);

 ob_start(); // start output buffering
@@ -38,7 +38,7 @@

 fclose($handle);
 unset($handle);
-var_dump( file_get_contents($temp_file) );
+var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
 @unlink($temp_file);

 curl_close($ch);

Modified: php/php-src/branches/PHP_5_4/ext/curl/tests/curl_setopt_basic002.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/curl/tests/curl_setopt_basic002.phpt       
2011-08-31 21:12:46 UTC (rev 315935)
+++ php/php-src/branches/PHP_5_4/ext/curl/tests/curl_setopt_basic002.phpt       
2011-08-31 22:12:53 UTC (rev 315936)
@@ -26,7 +26,7 @@

 fclose($handle);
 unset($handle);
-var_dump( file_get_contents($temp_file) );
+var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
 @unlink($temp_file);

 ob_start(); // start output buffering
@@ -38,7 +38,7 @@

 fclose($handle);
 unset($handle);
-var_dump( file_get_contents($temp_file) );
+var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
 @unlink($temp_file);

 curl_close($ch);

Modified: php/php-src/trunk/ext/curl/tests/curl_setopt_basic002.phpt
===================================================================
--- php/php-src/trunk/ext/curl/tests/curl_setopt_basic002.phpt  2011-08-31 
21:12:46 UTC (rev 315935)
+++ php/php-src/trunk/ext/curl/tests/curl_setopt_basic002.phpt  2011-08-31 
22:12:53 UTC (rev 315936)
@@ -26,7 +26,7 @@

 fclose($handle);
 unset($handle);
-var_dump( file_get_contents($temp_file) );
+var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
 @unlink($temp_file);

 ob_start(); // start output buffering
@@ -38,7 +38,7 @@

 fclose($handle);
 unset($handle);
-var_dump( file_get_contents($temp_file) );
+var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
 @unlink($temp_file);

 curl_close($ch);

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

Reply via email to