From 6ecdc4d9afa073f4c7cfe529bb81ae4f2224fb98 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 20 Jul 2022 13:19:58 +0200 Subject: [PATCH] Fix --CGI-- support of run-tests.php The `--CGI--` section is supposed to be just a marker, and to be empty as such. However, a previous refactoring[1] broke that. [1] --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index ae988abdc09df..d772c85f95272 100755 --- a/run-tests.php +++ b/run-tests.php @@ -3895,7 +3895,7 @@ public function getName(): string public function isCGI(): bool { - return $this->sectionNotEmpty('CGI') + return $this->hasSection('CGI') || $this->sectionNotEmpty('GET') || $this->sectionNotEmpty('POST') || $this->sectionNotEmpty('GZIP_POST')