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

Fix tests on illumos. #1238

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Fix tests on illumos. #1238

merged 1 commit into from
Dec 9, 2024

Conversation

sunfishcode
Copy link
Member

Fix the layout of epoll::Event on x86 and x86_64 on illumos to match libc's layout.

Adjust tests in tests/net/sockopt.rs to avoid using a buffer larger than supported on illumos.

And change tests/pty/openpty.rs to avoid expecting we can write an EOF to a pty on illumos, as that doesn't appear to work.

Fix the layout of `epoll::Event` on x86 and x86_64 on illumos to match
libc's layout.

Adjust tests in tests/net/sockopt.rs to avoid using a buffer larger than
supported on illumos.

And change tests/pty/openpty.rs to avoid expecting we can write an EOF
to a pty on illumos, as that doesn't appear to work.
@sunfishcode sunfishcode force-pushed the sunfishcode/illumos-fixes branch from 5fdb686 to 01ce127 Compare December 9, 2024 00:48
@sunfishcode sunfishcode merged commit 6a6f7a8 into main Dec 9, 2024
45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/illumos-fixes branch December 9, 2024 01:03
sunfishcode added a commit that referenced this pull request Dec 9, 2024
Fix the layout of `epoll::Event` on x86 and x86_64 on illumos to match
libc's layout.

Adjust tests in tests/net/sockopt.rs to avoid using a buffer larger than
supported on illumos.

And change tests/pty/openpty.rs to avoid expecting we can write an EOF
to a pty on illumos, as that doesn't appear to work.
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.

1 participant