Skip to content

Adapt tests to Windows 11 #17804

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 1 commit into from
Closed

Adapt tests to Windows 11 #17804

wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Feb 14, 2025

Apparently, one of the more recent patch releases of Windows 10 (confirmed for Windows 10.0.26100, but may affect older versions, too) changed treatment of filenames with trailing slashes to be recognized explicitly as directories, and no longer as invalid file or directory.

We adapt the affected test cases.


Not sure which version to target; chose PHP-8.3 as a compromise.

See https://github.com/php/php-src/actions/runs/13269603448/job/37045678895 for the test failures.

Apparently, one of the more recent patch releases of Windows 10
(confirmed for Windows 10.0.26100, but may affect older versions, too)
changed treatment of filenames with trailing slashes to be recognized
explicitly as directories, and no longer as invalid file or directory.

We adapt the affected test cases.
@cmb69 cmb69 marked this pull request as ready for review February 14, 2025 14:24
@cmb69 cmb69 requested a review from bukka as a code owner February 14, 2025 14:24
@cmb69 cmb69 closed this in 765cebf Feb 16, 2025
@cmb69 cmb69 deleted the cmb/win11-tests branch February 16, 2025 23:10
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
Apparently, one of the more recent patch releases of Windows 10
(confirmed for Windows 10.0.26100, but may affect older versions, too)
changed treatment of filenames with trailing slashes to be recognized
explicitly as directories, and no longer as invalid file or directory.

We adapt the affected test cases.

Closes phpGH-17804.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants