]> granicus.if.org Git - php/commitdiff
Remove annoying extra newline on XFAIL summaries
authorHannes Magnusson <bjori@php.net>
Wed, 31 Aug 2011 10:09:54 +0000 (10:09 +0000)
committerHannes Magnusson <bjori@php.net>
Wed, 31 Aug 2011 10:09:54 +0000 (10:09 +0000)
and sync text to trunk

run-tests.php

index 4bd154611866d3f60426d9c7478ec24fef8681e1..ae65a43e65fdb8b431329640740b8b1fa4d46af3 100755 (executable)
@@ -1948,7 +1948,7 @@ COMMAND $cmd
        if (!$passed) {
                if (isset($section_text['XFAIL'])) {
                        $restype[] = 'XFAIL';
-                       $info = '  XFAIL REASON: ' . $section_text['XFAIL'];
+                       $info = '  XFAIL REASON: ' . rtrim($section_text['XFAIL']);
                } else {
                        $restype[] = 'FAIL';
                }