]> granicus.if.org Git - php/commitdiff
fix notice in run-tests
authorJoe Watkins <krakjoe@php.net>
Thu, 23 May 2019 11:09:18 +0000 (13:09 +0200)
committerJoe Watkins <krakjoe@php.net>
Thu, 23 May 2019 11:09:18 +0000 (13:09 +0200)
run-tests.php

index 7abc4aedee1a061bf3e14a405a67116f1e63562f..99767d1d0877a548cf0153755dc927e55abe60e5 100755 (executable)
@@ -2693,7 +2693,7 @@ COMMAND $cmd
                if (isset($section_text['XFAIL'])) {
                        $restype[] = 'XFAIL';
                        $info = '  XFAIL REASON: ' . rtrim($section_text['XFAIL']);
-               } else if ($section_text['XLEAK']) {
+               } else if (isset($section_text['XLEAK'])) {
             $restype[] = 'XLEAK';
                        $info = '  XLEAK REASON: ' . rtrim($section_text['XLEAK']);
         } else {