Skip to content

test: pass command as array for occ command in integration tests#16887

Merged
nickvergessen merged 1 commit intomainfrom
integration-occ-command-array
Jan 28, 2026
Merged

test: pass command as array for occ command in integration tests#16887
nickvergessen merged 1 commit intomainfrom
integration-occ-command-array

Conversation

@icewind1991
Copy link
Copy Markdown
Member

For an unknown reason, passing the command as a string and going trough the extra shell step causes it not to find php in my dev setup, event though it's in $PATH.

Also saves having to deal with escapeshellarg

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the integration-occ-command-array branch from aeda073 to 38cf50f Compare January 28, 2026 13:53
Copy link
Copy Markdown
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work properly here, also the test that made us add the utf8 handling

@nickvergessen nickvergessen merged commit 708e7ef into main Jan 28, 2026
78 of 83 checks passed
@nickvergessen nickvergessen deleted the integration-occ-command-array branch January 28, 2026 14:40
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