From 8456cef1dbcb6c5a5690ce4553063ad18874f0b1 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Wed, 26 Dec 2012 00:43:37 -0500 Subject: [PATCH] Fix ext/curl tests to work on every libcurl versions Thanks Laruence :) --- ext/curl/tests/curl_multi_setopt_basic001.phpt | 2 ++ ext/curl/tests/curl_multi_strerror_001.phpt | 10 ++++++---- ext/curl/tests/curl_share_setopt_basic001.phpt | 2 ++ ext/curl/tests/curl_strerror_001.phpt | 14 ++++++++------ 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/ext/curl/tests/curl_multi_setopt_basic001.phpt b/ext/curl/tests/curl_multi_setopt_basic001.phpt index af74a0f400..a13cf6d716 100644 --- a/ext/curl/tests/curl_multi_setopt_basic001.phpt +++ b/ext/curl/tests/curl_multi_setopt_basic001.phpt @@ -1,6 +1,7 @@ --TEST-- curl_multi_setopt basic test --SKIPIF-- += 7.16.0"); } +?> --FILE-- = 7.12.0"); } +?> --FILE-- --EXPECTF-- -string(8) "No error" -string(20) "Invalid multi handle" +string(8) "no error" +string(20) "invalid multi handle" diff --git a/ext/curl/tests/curl_share_setopt_basic001.phpt b/ext/curl/tests/curl_share_setopt_basic001.phpt index 88e92860b0..33c03e3337 100644 --- a/ext/curl/tests/curl_share_setopt_basic001.phpt +++ b/ext/curl/tests/curl_share_setopt_basic001.phpt @@ -1,9 +1,11 @@ --TEST-- curl_share_setopt basic test --SKIPIF-- + --FILE-- = 7.12.0"); } +?> --FILE-- --EXPECTF-- -string(8) "No error" -string(20) "Unsupported protocol" -string(13) "Unknown error" +string(8) "no error" +string(20) "unsupported protocol" +string(13) "unknown error" -- 2.40.0