Skip to content
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

Build/Test Tools: Add sys_get_temp_dir() to open_basedir tests. #5249

Closed

Conversation

costdev
Copy link
Contributor

@costdev costdev commented Sep 19, 2023

In PHPUnit 9.6.13, the child processes used for process isolation now use temporary files to communicate their result to the parent process. This caused a failure in some tests that set the open_basedir PHP directive.

This adds sys_get_temp_dir() to the open_basedir value set by the tests.

References:

Trac ticket: https://core.trac.wordpress.org/ticket/59394

@costdev costdev marked this pull request as ready for review September 19, 2023 14:49
@costdev costdev force-pushed the add_sys_temp_dir_to_open_basedir branch from fcca8ba to 37e4e57 Compare September 19, 2023 15:49
@costdev costdev force-pushed the add_sys_temp_dir_to_open_basedir branch from 37e4e57 to a9f4f23 Compare September 19, 2023 15:50
@costdev
Copy link
Contributor Author

costdev commented Sep 19, 2023

Committed in r56622.

@costdev costdev closed this Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants