diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2009-11-23 14:43:52 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2009-11-23 14:43:52 +0000 |
| commit | c79d16d40b21a3683539863d7a35e1acc0a26e5c (patch) | |
| tree | 85e39c652a9d90e4400d7b93eff819e5e0fd72a6 | |
| parent | 0ebe3a7690a7fee3eef47af83bad517f43857244 (diff) | |
| download | php-git-c79d16d40b21a3683539863d7a35e1acc0a26e5c.tar.gz | |
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.
| -rw-r--r-- | ext/curl/tests/curl_basic_016.phpt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/curl/tests/curl_basic_016.phpt b/ext/curl/tests/curl_basic_016.phpt index fe44827e8a..b5890c0f6e 100644 --- a/ext/curl/tests/curl_basic_016.phpt +++ b/ext/curl/tests/curl_basic_016.phpt @@ -3,7 +3,13 @@ Test curl_getinfo() function with basic functionality --CREDITS-- Jean-Marc Fontaine <jmf@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(); |
