From 14f0d871e598008c53a989061afd9c423324fdc5 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Sat, 17 Oct 2026 11:56:59 +0200 Subject: [PATCH] ext/opcache: move bug66338.phpt cleanup to --CLEAN-- The generated helper files were removed at the end of --FILE--, so any failure before that point (e.g. the CLI server failing to start) left bug66338-Officials.inc and the client scripts behind in the tests directory. Move the cleanup to a --CLEAN-- section so it always runs. --- ext/opcache/tests/bug66338.phpt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ext/opcache/tests/bug66338.phpt b/ext/opcache/tests/bug66338.phpt index 61065a8e3fa8..16bed0da0fb6 100644 --- a/ext/opcache/tests/bug66338.phpt +++ b/ext/opcache/tests/bug66338.phpt @@ -34,10 +34,12 @@ php_cli_server_start("-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.opt echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/$base-clientUS.php" ); echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/$base-clientUK.php" ); - -unlink("$root-Officials.inc"); -unlink("$root-clientUS.php"); -unlink("$root-clientUK.php"); +?> +--CLEAN-- + --EXPECT-- The President of the USA is Barack Hussein Obama II