com php-src: fix notice in run-tests: run-tests.php
| From: | Joe Watkins | Date: | Thu, 23 May 2019 11:09:18 +0000 |
| Subject: | com php-src: fix notice in run-tests: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106312@lists.php.net to get a copy of this message | ||
Commit: 979e7d0feeb3995fde84bdc4e60ba856d6056954
Author: Joe Watkins <krakjoe@php.net> Thu, 23 May 2019 13:09:18 +0200
Parents: ced8760ca8533339ba8336b9ee32cbea3c873683
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=979e7d0feeb3995fde84bdc4e60ba856d6056954
Log:
fix notice in run-tests
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 7abc4ae..99767d1 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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 {