Index: drupal_web_test_case.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/drupal_web_test_case.php,v retrieving revision 1.2.2.3.2.44 diff -u -p -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 24 Sep 2009 23:36:52 -0000 @@ -1535,7 +1536,7 @@ class DrupalWebTestCase extends DrupalTe // 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 = realpath($file); if ($file && is_file($file)) { $post[$key] = '@' . $file; }