Index: drupal_web_test_case.php =================================================================== RCS file: /cvs/drupal/contributions/modules/simpletest/drupal_web_test_case.php,v retrieving revision 1.2.2.3.2.44 diff -u -r1.2.2.3.2.44 drupal_web_test_case.php --- drupal_web_test_case.php 17 Sep 2009 21:32:48 -0000 1.2.2.3.2.44 +++ drupal_web_test_case.php 25 Sep 2009 19:56:20 -0000 @@ -1535,7 +1535,8 @@ // is broken. This is a less than elegant workaround. Alternatives // are being explored at #253506. foreach ($upload as $key => $file) { - $file = drupal_realpath($file); +// $file = drupal_realpath($file); + $file = realpath($file); if ($file && is_file($file)) { $post[$key] = '@' . $file; }