Skip to content

readfile() Windows test file can conflict with another test when run in parrallel #17879

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
Girgias opened this issue Feb 21, 2025 · 1 comment

Comments

@Girgias
Copy link
Member

Girgias commented Feb 21, 2025

Description

The following file ext\standard\tests\file\readfile_variation8-win32.phpt sometimes fails CI because warning about existing folder are issued by mkdir().

Can you have a look @cmb69 as you have a Windows machine?

PHP Version

master

Operating System

No response

@cmb69
Copy link
Member

cmb69 commented Feb 21, 2025

$mainDir = "readfileVar8";
$subDir = "readfileVar8Sub";

cmb69 added a commit to cmb69/php-src that referenced this issue Feb 21, 2025
@cmb69 cmb69 linked a pull request Feb 21, 2025 that will close this issue
@cmb69 cmb69 closed this as completed in 769f292 Feb 21, 2025
cmb69 added a commit that referenced this issue Feb 21, 2025
* PHP-8.3:
  Fix GH-17879: readfile_variation8-win32.phpt test conflict
cmb69 added a commit that referenced this issue Feb 21, 2025
* PHP-8.4:
  Fix GH-17879: readfile_variation8-win32.phpt test conflict
charmitro pushed a commit to wasix-org/php that referenced this issue Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants