-
Notifications
You must be signed in to change notification settings - Fork 18
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
libc/socket: add unix socket tests #364
Conversation
a few generic remarks:
|
3e01c5f
to
5a13d70
Compare
Done
Sure. Should I also make the functions for previous tests static in this test file that seem to be local to the test suite (not declared in any header)?
I wasn't aware of that, thanks. Hopefully this is related only to asserts, but |
Yes, I think so.
I don't think so, checking call stack it goes down to |
3cfc293
to
1494f74
Compare
1494f74
to
d49925d
Compare
d49925d
to
b7c629c
Compare
b7c629c
to
8ceb435
Compare
96cb6ef
to
8fcc056
Compare
c352b64
to
bcbf2f6
Compare
bcbf2f6
to
7f0e508
Compare
b362dc4
to
c5f8de9
Compare
5b33001
to
0b60fb6
Compare
Adds tests of accept, connect, recv(MSG_PEEK) JIRA: RTOS-862
0b60fb6
to
f505630
Compare
Adds tests of accept, connect, recv(MSG_PEEK)
JIRA: RTOS-862, RTOS-877
Description
Adds unix socket accept/connect tests, both blocking and non-blocking, as well as a small test for proper recv(MSG_PEEK) behavior.
Motivation and Context
Types of changes
How Has This Been Tested?
ia32-generic-qemu
Checklist:
Special treatment
posix: fix unix socket accept/connect, add their nonblocking variants, handle MSG_PEEK in recv phoenix-rtos-kernel#572
sys/select: fix errnos libphoenix#388