summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-05-23 13:09:33 +0200
committerJoe Watkins <krakjoe@php.net>2019-05-23 13:09:33 +0200
commit92ab8683325ed4a8e63cd2bc9a310e9fc3edc811 (patch)
treebb8f9adca6e7548bbc9fbc4959c8790758dd5442
parent5aa91d573265a222b4b2624c5efb0f5a56ab5385 (diff)
parent979e7d0feeb3995fde84bdc4e60ba856d6056954 (diff)
downloadphp-git-92ab8683325ed4a8e63cd2bc9a310e9fc3edc811.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: fix notice in run-tests
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 7abc4aedee..99767d1d08 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 {