From be559e6c37e0618c5e3429c3bfd5223840d3654c Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 1 Jul 2019 16:41:20 +0200 Subject: [PATCH] Fix brittle test This test is easily tripped by former test runs with other PHP versions. To avoid such false positives, we check that there is at least one respective OPcache file, and that all found OPcache user ID folders have exactly 32 hexadecimal digits. --- ext/opcache/tests/bug78189.phpt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ext/opcache/tests/bug78189.phpt b/ext/opcache/tests/bug78189.phpt index 49891c8d63..d97d8e9470 100644 --- a/ext/opcache/tests/bug78189.phpt +++ b/ext/opcache/tests/bug78189.phpt @@ -14,9 +14,16 @@ opcache.file_cache_only=1 --EXPECT-- -int(1) -- 2.40.0