[PHP-CVS] cvs: php-src /ext/curl/tests bug48514.phpt

2009-06-12 Thread Felipe Pena
felipe  Fri Jun 12 20:44:50 2009 UTC

  Modified files:  
/php-src/ext/curl/tests bug48514.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/tests/bug48514.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/curl/tests/bug48514.phpt
diff -u php-src/ext/curl/tests/bug48514.phpt:1.1 
php-src/ext/curl/tests/bug48514.phpt:1.2
--- php-src/ext/curl/tests/bug48514.phpt:1.1Fri Jun 12 20:43:29 2009
+++ php-src/ext/curl/tests/bug48514.phptFri Jun 12 20:44:50 2009
@@ -13,7 +13,7 @@
 
 ?
 --EXPECTF--
-resource(4) of type (curl)
+resource(%d) of type (curl)
 %string|unicode%(4) curl
-resource(5) of type (curl_multi)
+resource(%d) of type (curl_multi)
 %string|unicode%(10) curl_multi



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



[PHP-CVS] cvs: php-src /ext/curl/tests bug48514.phpt

2009-06-12 Thread Felipe Pena
felipe  Fri Jun 12 20:46:30 2009 UTC

  Modified files:  
/php-src/ext/curl/tests bug48514.phpt 
  Log:
  - Refix the fix :| (missing skipif)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/tests/bug48514.phpt?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/curl/tests/bug48514.phpt
diff -u php-src/ext/curl/tests/bug48514.phpt:1.2 
php-src/ext/curl/tests/bug48514.phpt:1.3
--- php-src/ext/curl/tests/bug48514.phpt:1.2Fri Jun 12 20:44:50 2009
+++ php-src/ext/curl/tests/bug48514.phptFri Jun 12 20:46:30 2009
@@ -1,5 +1,13 @@
 --TEST--
 Bug #48514 (cURL extension uses same resource name for simple and multi APIs)
+--SKIPIF--
+?php
+
+if (!extension_loaded('curl')) {
+   exit(skip curl extension not loaded);
+}
+
+?
 --FILE--
 ?php
 



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