Skip to content

[Haiku] Unix socket test+single-thread setlocale+signals#14773

Open
Sylvain78 wants to merge 8 commits intoocaml:trunkfrom
Sylvain78:5.5-haiku
Open

[Haiku] Unix socket test+single-thread setlocale+signals#14773
Sylvain78 wants to merge 8 commits intoocaml:trunkfrom
Sylvain78:5.5-haiku

Conversation

@Sylvain78
Copy link
Copy Markdown
Contributor

@Sylvain78 Sylvain78 commented Apr 24, 2026

-Adapt to not test unnamed socket on haiku cause those ones receive a random name with format "\000xxxxx", so the comparison of old and new filename can't succeed on Haiku.
-setlocale is not thread safe on Haiku (known bug on haiku side)
-sigio doesn't exist on Haiku

Add a filter for BeOS/Haiku

Needed for a specific behaviour in unix abstract socket, tested in tests/lib-unix/unix-socket/recvfrom_<platform>.ml
- Add a specific filter 'beos_haiku' for tests
- Specifif recv_from test in unix-socket, cause for abstract socket (created with "" as filename), haiku attributes them a random '\0xxxxx' (each x being a hex digit) name, so we are unable to test if socket is created with same "" filename as requested.
@Sylvain78 Sylvain78 changed the title [Haiku] Unix socket test [Haiku] Unix socket test+single-thread setlocale+signals Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants