Skip to content

CI: fix ext/zend_test/tests/zend_mm_custom_handlers* tests - #23775

Merged
LamentXU123 merged 1 commit into
php:masterfrom
LamentXU123:fix-CI-mm
Sep 19, 2026
Merged

LamentXU123 merged 1 commit into
php:masterfrom
LamentXU123:fix-CI-mm

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

After 93fd714, we just return the copy of the string when the mult parameter of str_repeat is 1, that is to repeat the string 1 time. But this cause inconsistency in this test. When the rand number is 1, it won't allocate any byte. So the test will fail.

@LamentXU123 LamentXU123 changed the title CI: fix ext/zend_test/tests/zend_mm_custom_handlers_alloc_01.phpt CI: fix ext/zend_test/tests/zend_mm_custom_handlers* Sep 19, 2026
@LamentXU123 LamentXU123 changed the title CI: fix ext/zend_test/tests/zend_mm_custom_handlers* CI: fix ext/zend_test/tests/zend_mm_custom_handlers* tests Sep 19, 2026
@LamentXU123
LamentXU123 merged commit 9e75056 into php:master Sep 19, 2026
17 of 18 checks passed
@LamentXU123
LamentXU123 deleted the fix-CI-mm branch September 19, 2026 18:12
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