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

Add tests for sock_shutdown() API #94

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

loganek
Copy link
Collaborator

@loganek loganek commented Nov 20, 2023

According to the specification [1] the API should behave similarly to the POSIX one, therefore expecting specific errno codes

https://github.com/WebAssembly/WASI/blob/2980bb39e1d2a4a2adae4748908cb4325cd41a26/legacy/preview1/docs.md#sock_shutdown

Copy link
Contributor

@yamt yamt left a comment

Choose a reason for hiding this comment

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

looks reasonable to me

tests/c/testsuite/sock_shutdown-not_sock.c Outdated Show resolved Hide resolved
According to the specification [1] the API should behave similarly to the POSIX one, therefore expecting specific errno codes

https://github.com/WebAssembly/WASI/blob/2980bb39e1d2a4a2adae4748908cb4325cd41a26/legacy/preview1/docs.md#sock_shutdown
@loganek loganek merged commit 03b4d4a into WebAssembly:main Nov 24, 2023
11 checks passed
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.

2 participants