- Fix test

This commit is contained in:
Jani Taskinen 2009-07-25 14:20:38 +00:00
parent eae3e69f33
commit b3568760bd

View File

@ -14,10 +14,11 @@ Mark van der Velden
*/ */
// Figure out what handler to use // Figure out what handler to use
if(!empty($_ENV['PHP_CURL_HTTP_REMOTE_SERVER'])) { $host = getenv('PHP_CURL_HTTP_REMOTE_SERVER');
if(!empty($host)) {
// Use the set Environment variable // Use the set Environment variable
$url = $_ENV['PHP_CURL_HTTP_REMOTE_SERVER']; $url = "$host/get.php";
} else { } else {
@ -42,4 +43,5 @@ isset($tempname) and is_file($tempname) and @unlink($tempname);
?> ?>
--EXPECTF-- --EXPECTF--
Warning: curl_setopt(): the provided file handle is not writable in %s on line %d Warning: curl_setopt(): the provided file handle is not writable in %s on line %d
%S Hello World!
Hello World!