Lines Matching refs:section_text

1210 	$section_text = array('TEST' => '');
1249 if (isset($section_text[$section])) {
1254 $section_text[$section] = '';
1262 $section_text[$section] .= $line;
1274 if (@count($section_text['REDIRECTTEST']) == 1) {
1285 …if (@count($section_text['FILE']) + @count($section_text['FILEEOF']) + @count($section_text['FILE_…
1290 if (@count($section_text['FILEEOF']) == 1) {
1291 $section_text['FILE'] = preg_replace("/[\r\n]+$/", '', $section_text['FILEEOF']);
1292 unset($section_text['FILEEOF']);
1298 if (@count($section_text[$key]) == 1) {
1300 $section_text[$key] = dirname($file) . '/' . trim(str_replace('..', '', $section_text[$key]));
1302 if (file_exists($section_text[$key])) {
1303 $section_text[$prefix] = file_get_contents($section_text[$key], FILE_BINARY);
1304 unset($section_text[$key]);
1306 …$bork_info = "could not load --" . $key . "-- " . dirname($file) . '/' . trim($section_text[$key]);
1312 …if ((@count($section_text['EXPECT']) + @count($section_text['EXPECTF']) + @count($section_text['EX…
1337 $tested = trim($section_text['TEST']);
1340section_text['GET']) || !empty($section_text['POST']) || !empty($section_text['GZIP_POST']) || !em…
1406 if (isset($section_text['FILE'])) {
1407 save_text($copy_file, $section_text['FILE']);
1424 $tested = $IN_REDIRECT['prefix'] . ' ' . trim($section_text['TEST']);
1453 if (!empty($section_text['ENV'])) {
1455 foreach(explode("\n", trim($section_text['ENV'])) as $e) {
1472 if (array_key_exists('INI', $section_text)) {
1473 if (strpos($section_text['INI'], '{PWD}') !== false) {
1474 $section_text['INI'] = str_replace('{PWD}', dirname($file), $section_text['INI']);
1476 settings2array(preg_split( "/[\n\r]+/", $section_text['INI']), $ini_settings);
1480 if (array_key_exists('EXTENSIONS', $section_text)) {
1482 $extensions = preg_split("/[\n\r]+/", trim($section_text['EXTENSIONS']));
1497 if (array_key_exists('SKIPIF', $section_text)) {
1499 if (trim($section_text['SKIPIF'])) {
1500 show_file_block('skip', $section_text['SKIPIF']);
1501 save_text($test_skipif, $section_text['SKIPIF'], $temp_skipif);
1560 && ( array_key_exists("GZIP_POST", $section_text)
1561 || array_key_exists("DEFLATE_POST", $section_text))
1569 if (@count($section_text['REDIRECTTEST']) == 1) {
1572 $IN_REDIRECT = eval($section_text['REDIRECTTEST']);
1575 $IN_REDIRECT['prefix'] = trim($section_text['TEST']);
1623 if (is_array($org_file) || @count($section_text['REDIRECTTEST']) == 1) {
1645 show_file_block('php', $section_text['FILE'], 'TEST');
1646 save_text($test_file, $section_text['FILE'], $temp_file);
1648 if (array_key_exists('GET', $section_text)) {
1649 $query_string = trim($section_text['GET']);
1659 if (array_key_exists('COOKIE', $section_text)) {
1660 $env['HTTP_COOKIE'] = trim($section_text['COOKIE']);
1665 $args = isset($section_text['ARGS']) ? ' -- ' . $section_text['ARGS'] : '';
1667 if (array_key_exists('POST_RAW', $section_text) && !empty($section_text['POST_RAW'])) {
1669 $post = trim($section_text['POST_RAW']);
1701 } elseif (array_key_exists('PUT', $section_text) && !empty($section_text['PUT'])) {
1703 $post = trim($section_text['PUT']);
1735 } else if (array_key_exists('POST', $section_text) && !empty($section_text['POST'])) {
1737 $post = trim($section_text['POST']);
1747 } else if (array_key_exists('GZIP_POST', $section_text) && !empty($section_text['GZIP_POST'])) {
1749 $post = trim($section_text['GZIP_POST']);
1762 …} else if (array_key_exists('DEFLATE_POST', $section_text) && !empty($section_text['DEFLATE_POST']…
1763 $post = trim($section_text['DEFLATE_POST']);
1815 …$out = system_with_timeout($cmd, $env, isset($section_text['STDIN']) ? $section_text['STDIN'] : nu…
1819 if (array_key_exists('CLEAN', $section_text) && (!$no_clean || $cfg['keep']['clean'])) {
1821 if (trim($section_text['CLEAN'])) {
1822 show_file_block('clean', $section_text['CLEAN']);
1823 save_text($test_clean, trim($section_text['CLEAN']), $temp_clean);
1874 if (isset($section_text['EXPECTHEADERS'])) {
1877 $lines = preg_split("/[\n\r]+/", $section_text['EXPECTHEADERS']);
1911 if (isset($section_text['EXPECTF']) || isset($section_text['EXPECTREGEX'])) {
1913 if (isset($section_text['EXPECTF'])) {
1914 $wanted = trim($section_text['EXPECTF']);
1916 $wanted = trim($section_text['EXPECTREGEX']);
1922 if (isset($section_text['EXPECTF'])) {
2001 if (isset($section_text['XFAIL'] )) {
2014 $wanted = trim($section_text['EXPECT']);
2031 if (isset($section_text['XFAIL'] )) {
2065 if (isset($section_text['XFAIL'])) {
2067 $info = ' XFAIL REASON: ' . rtrim($section_text['XFAIL']);