Skip to content

Fix failing soap tests on Windows #16084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 27, 2024

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, we use a --CGI-- section instead. 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.

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, we use a
`--CGI--` section instead.  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.
Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this, only nits

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cmb69 cmb69 closed this in 5f3e6e3 Sep 27, 2024
@cmb69 cmb69 deleted the cmb/soap-tests-win branch September 27, 2024 18:01
jorgsowa pushed a commit to jorgsowa/php-src that referenced this pull request Oct 1, 2024
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 phpGH-16084.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants