Execute --SKIPIF-- like --FILE--

This commit is contained in:
Marcus Boerger 2003-05-29 19:11:51 +00:00
parent 472cc5b9f3
commit 23e5004132

View File

@ -688,7 +688,7 @@ TEST $file
if (array_key_exists('SKIPIF', $section_text)) {
if (trim($section_text['SKIPIF'])) {
save_text($tmp_skipif, $section_text['SKIPIF']);
$output = `$php $info_params $tmp_skipif`;
$output = system_with_timeout("$php $info_params $tmp_skipif");
@unlink($tmp_skipif);
if (eregi("^skip", trim($output))) {
echo "SKIP $tested";