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']);
1295 if (@count($section_text['FILE_EXTERNAL']) == 1) {
1297 …$section_text['FILE_EXTERNAL'] = dirname($file) . '/' . trim(str_replace('..', '', $section_text['…
1299 if (file_exists($section_text['FILE_EXTERNAL'])) {
1300 $section_text['FILE'] = file_get_contents($section_text['FILE_EXTERNAL'], FILE_BINARY);
1301 unset($section_text['FILE_EXTERNAL']);
1303 …$bork_info = "could not load --FILE_EXTERNAL-- " . dirname($file) . '/' . trim($section_text['FILE…
1308 …if ((@count($section_text['EXPECT']) + @count($section_text['EXPECTF']) + @count($section_text['EX…
1333 $tested = trim($section_text['TEST']);
1336section_text['GET']) || !empty($section_text['POST']) || !empty($section_text['GZIP_POST']) || !em…
1402 if (isset($section_text['FILE'])) {
1403 save_text($copy_file, $section_text['FILE']);
1420 $tested = $IN_REDIRECT['prefix'] . ' ' . trim($section_text['TEST']);
1449 if (!empty($section_text['ENV'])) {
1451 foreach(explode("\n", trim($section_text['ENV'])) as $e) {
1468 if (array_key_exists('INI', $section_text)) {
1469 if (strpos($section_text['INI'], '{PWD}') !== false) {
1470 $section_text['INI'] = str_replace('{PWD}', dirname($file), $section_text['INI']);
1472 settings2array(preg_split( "/[\n\r]+/", $section_text['INI']), $ini_settings);
1476 if (array_key_exists('EXTENSIONS', $section_text)) {
1478 $extensions = preg_split("/[\n\r]+/", trim($section_text['EXTENSIONS']));
1493 if (array_key_exists('SKIPIF', $section_text)) {
1495 if (trim($section_text['SKIPIF'])) {
1496 show_file_block('skip', $section_text['SKIPIF']);
1497 save_text($test_skipif, $section_text['SKIPIF'], $temp_skipif);
1556 && ( array_key_exists("GZIP_POST", $section_text)
1557 || array_key_exists("DEFLATE_POST", $section_text))
1565 if (@count($section_text['REDIRECTTEST']) == 1) {
1568 $IN_REDIRECT = eval($section_text['REDIRECTTEST']);
1571 $IN_REDIRECT['prefix'] = trim($section_text['TEST']);
1619 if (is_array($org_file) || @count($section_text['REDIRECTTEST']) == 1) {
1641 show_file_block('php', $section_text['FILE'], 'TEST');
1642 save_text($test_file, $section_text['FILE'], $temp_file);
1644 if (array_key_exists('GET', $section_text)) {
1645 $query_string = trim($section_text['GET']);
1655 if (array_key_exists('COOKIE', $section_text)) {
1656 $env['HTTP_COOKIE'] = trim($section_text['COOKIE']);
1661 $args = isset($section_text['ARGS']) ? ' -- ' . $section_text['ARGS'] : '';
1663 if (array_key_exists('POST_RAW', $section_text) && !empty($section_text['POST_RAW'])) {
1665 $post = trim($section_text['POST_RAW']);
1697 } elseif (array_key_exists('PUT', $section_text) && !empty($section_text['PUT'])) {
1699 $post = trim($section_text['PUT']);
1731 } else if (array_key_exists('POST', $section_text) && !empty($section_text['POST'])) {
1733 $post = trim($section_text['POST']);
1743 } else if (array_key_exists('GZIP_POST', $section_text) && !empty($section_text['GZIP_POST'])) {
1745 $post = trim($section_text['GZIP_POST']);
1758 …} else if (array_key_exists('DEFLATE_POST', $section_text) && !empty($section_text['DEFLATE_POST']…
1759 $post = trim($section_text['DEFLATE_POST']);
1811 …$out = system_with_timeout($cmd, $env, isset($section_text['STDIN']) ? $section_text['STDIN'] : nu…
1815 if (array_key_exists('CLEAN', $section_text) && (!$no_clean || $cfg['keep']['clean'])) {
1817 if (trim($section_text['CLEAN'])) {
1818 show_file_block('clean', $section_text['CLEAN']);
1819 save_text($test_clean, trim($section_text['CLEAN']), $temp_clean);
1870 if (isset($section_text['EXPECTHEADERS'])) {
1873 $lines = preg_split("/[\n\r]+/", $section_text['EXPECTHEADERS']);
1907 if (isset($section_text['EXPECTF']) || isset($section_text['EXPECTREGEX'])) {
1909 if (isset($section_text['EXPECTF'])) {
1910 $wanted = trim($section_text['EXPECTF']);
1912 $wanted = trim($section_text['EXPECTREGEX']);
1918 if (isset($section_text['EXPECTF'])) {
1997 if (isset($section_text['XFAIL'] )) {
2010 $wanted = trim($section_text['EXPECT']);
2027 if (isset($section_text['XFAIL'] )) {
2061 if (isset($section_text['XFAIL'])) {
2063 $info = ' XFAIL REASON: ' . rtrim($section_text['XFAIL']);