]> granicus.if.org Git - php/commitdiff
- '_' is valid in test blocks
authorMarcus Boerger <helly@php.net>
Tue, 16 May 2006 23:04:52 +0000 (23:04 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 16 May 2006 23:04:52 +0000 (23:04 +0000)
run-tests.php

index b1e0dba5c4a0503c4192991f286dedcf7614e3b2..28c7d3914887d7f1ae9212832cb976cf2b0afcc2 100755 (executable)
@@ -989,7 +989,7 @@ TEST $file
                $line = fgets($fp);
 
                // Match the beginning of a section.
-               if (preg_match('/^--([A-Z]+)--/', $line, $r)) {
+               if (preg_match('/^--([_A-Z]+)--/', $line, $r)) {
                        $section = $r[1];
                        $section_text[$section] = '';
                        $secfile = $section == 'FILE' || $section == 'FILEEOF';