--- php55-curl-file-upload-2054205-18.patch 2013-10-25 09:49:33.000000000 +0200 +++ php55-curl-file-upload-2054205-20.patch 2013-10-25 14:10:45.437119207 +0200 @@ -1,5 +1,5 @@ diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php -index 0853c7d..2f0a715 100644 +index 0853c7d..3014384 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -541,6 +541,15 @@ abstract class DrupalTestCase { @@ -24,7 +24,7 @@ if ($file && is_file($file)) { $post[$key] = '@' . $file; // Use the new CurlFile class for file uploads when using PHP - // 5.5.0. + // 5.5 or higher. if (class_exists('CurlFile')) { $post[$key] = curl_file_create($file); }