Gets update.php without calling url().
Required since WebTestBase::drupalGet() calls t(), which calls into system_list(), from the parent site/test runner, before update.php is even executed.
protected function getUpdatePhp() {
$path = $GLOBALS['base_url'] . '/core/update.php';
$out = $this
->curlExec(array(
CURLOPT_HTTPGET => TRUE,
CURLOPT_URL => $path,
CURLOPT_NOBODY => FALSE,
));
// Ensure that any changes to variables in the other thread are picked up.
$this
->refreshVariables();
// Replace original page output with new output from redirected page(s).
if ($new = $this
->checkForMetaRefresh()) {
$out = $new;
}
$this
->verbose('GET request to: ' . $path . '<hr />Ending URL: ' . $this
->getUrl() . '<hr />' . $out);
return $out;
}