Fix failing soap tests on Windows

These failures are caused by the fix for GHSA-p99j-rfp4-xqvq.  Since
the two bug*.phpt tests don't need the "wsdl" query string, and don't
even need php-cgi, we just remove the `--GET--` section.  The two
server*.phpt tests are harder to fix, since during evaluation of the
`--SKIPIF--` section, the soap extension can be loaded, but it may not
during evaluation of the `--FILE--` section.  So for now, we skip these
tests on Windows altogether.

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Closes GH-16084.
This commit is contained in:
Christoph M. Becker 2024-09-27 19:08:13 +02:00
parent fcbcf2f281
commit 5f3e6e346c
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6
4 changed files with 12 additions and 4 deletions

View file

@ -2,8 +2,6 @@
Bug #27722 (Segfault on schema without targetNamespace)
--EXTENSIONS--
soap
--GET--
wsdl
--INI--
soap.wsdl_cache_enabled=0
--FILE--

View file

@ -2,8 +2,6 @@
Bug #27742 (WDSL SOAP Parsing Schema bug)
--EXTENSIONS--
soap
--GET--
wsdl
--INI--
soap.wsdl_cache_enabled=0
--FILE--

View file

@ -1,5 +1,11 @@
--TEST--
SOAP Server 11: bind
--SKIPIF--
<?php
if (PHP_OS_FAMILY === "Windows") {
die("skip currently unsupported on Windows");
}
?>
--EXTENSIONS--
soap
--GET--

View file

@ -1,5 +1,11 @@
--TEST--
SOAP Server 12: WSDL generation
--SKIPIF--
<?php
if (PHP_OS_FAMILY === "Windows") {
die("skip currently unsupported on Windows");
}
?>
--EXTENSIONS--
soap
--GET--