]> granicus.if.org Git - php/commitdiff
Execute --SKIPIF-- like --FILE--
authorMarcus Boerger <helly@php.net>
Thu, 29 May 2003 19:11:51 +0000 (19:11 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 29 May 2003 19:11:51 +0000 (19:11 +0000)
run-tests.php

index 9be82f1f5e67b12ee5111ff358316739952b8f76..46191527b7efdbf0e32bee5e8f03f798c70df7b3 100755 (executable)
@@ -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";