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.39
diff -u -r1.2.2.3.2.39 drupal_web_test_case.php
--- drupal_web_test_case.php	5 Sep 2009 13:34:10 -0000	1.2.2.3.2.39
+++ drupal_web_test_case.php	13 Sep 2009 20:05:22 -0000
@@ -1082,6 +1082,8 @@
     // Generate temporary prefixed database to ensure that tests have a clean starting point.
 //    $db_prefix_new = Database::getConnection()->prefixTables('{simpletest' . mt_rand(1000, 1000000) . '}');
     $db_prefix_new = $db_prefix . 'simpletest' . mt_rand(1000, 1000000);
+    // Workaround to insure we init the theme layer before going into $prefix land; helps run-test.sh function.
+    $this->pass(t('Starting run with db_prefix %prefix', array('%prefix' => $db_prefix_new)));
 //    db_update('simpletest_test_id')
 //      ->fields(array('last_prefix' => $db_prefix_new))
 //      ->condition('test_id', $this->testId)
