-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Fix tmp file deletion in mysqli_pam_sha256_public_key_ini.phpt test #8427
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
Conversation
7a28b68
to
0508def
Compare
@iluuu1994 can you please apply the fixes based on my last post here? |
I'm not convinced this check is worthwhile. It isn't a security or stability issue (which was the real motivation), and any skipped test is not checked, meaning if we only execute this check for certain environments only a sub-set of tests will be checked for cleaning up files. |
it asserts that tests does not produce any residual files (files not ignored by |
@ramsey yes and thank you into getting into this |
Backported from master. See #8427
The last step was already done by @kamil-tekiela, thank you. Now let's please cherry-pick cba5e60 into PHP-8.0, so the CI asserts tests produce no residual files after they are run. The issue, and that's why it the commit has been reverted by @iluuu1994, was fixed. Then please close this PR. |
closing in favor of #8977, thank you @iluuu1994 |
the 1st (revert) commit should be merged into PHP 8.0 branch
#8295 was designed to detect also residual/uncleaned tmp files from build/tests
it works with PHP 8.0 & master, but one test for PHP 8.1 has an issue:
for some reasons the
mysqlnd.sha256_server_public_key="test_sha256_ini"
config is not deleted by the CLEAN section