rasmus                                   Mon, 23 Nov 2009 14:43:52 +0000

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

Log:
Pierre added certinfo to the curl info array, but that is
only available in newer versions of curl and this test
doesn't test for it.

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/curl/tests/curl_basic_016.phpt

Modified: php/php-src/branches/PHP_5_3/ext/curl/tests/curl_basic_016.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/curl/tests/curl_basic_016.phpt     
2009-11-23 14:43:09 UTC (rev 291208)
+++ php/php-src/branches/PHP_5_3/ext/curl/tests/curl_basic_016.phpt     
2009-11-23 14:43:52 UTC (rev 291209)
@@ -3,7 +3,13 @@
 --CREDITS--
 Jean-Marc Fontaine <j...@durcommefaire.net>
 --SKIPIF--
-<?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>
+<?php
+if (!extension_loaded("curl")) exit("skip curl extension not loaded");
+$curl_version = curl_version();
+if ($curl_version['version_number'] > 0x071201) {
+    exit("skip: tests works only on older versions of curl");
+}
+?>
 --FILE--
 <?php
   $ch   = curl_init();

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

Reply via email to