Skip to content

Conversation

tiif
Copy link
Member

@tiif tiif commented Aug 16, 2024

Fixes #3811

This PR:

  • Fixed the error in epoll_ctl_del test
  • Simplified the logic in epoll_ctl_mod test
  • Added a new test to check if flag that we don't register won't trigger notification (double negation sounds a bit confusing here, feel free to suggest a better one ;) )
  • Use assert_eq(0) for epoll_ctl test

@tiif
Copy link
Member Author

tiif commented Aug 16, 2024

7db8243 is a set of test that will pass real system. The only thing that we can do here is support EPOLLHUP flag. Another test is something that we discussed before.

EDIT: EPOLLHUP support is added in #3814

@tiif
Copy link
Member Author

tiif commented Aug 16, 2024

@rustbot ready

@rustbot rustbot added the S-waiting-on-review Status: Waiting for a review to complete label Aug 16, 2024
@bors
Copy link
Contributor

bors commented Aug 17, 2024

☔ The latest upstream changes (presumably #3814) made this pull request unmergeable. Please resolve the merge conflicts.

@RalfJung
Copy link
Member

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: Waiting for the PR author to address review comments and removed S-waiting-on-review Status: Waiting for a review to complete labels Aug 17, 2024
- Fix epoll_ctl_del test
- Simplified epoll_ctl_mod test and add test_no_notification_for_unregister_flag
- Use assert_eq(0) for epoll_ctl
@tiif
Copy link
Member Author

tiif commented Aug 17, 2024

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Waiting for a review to complete and removed S-waiting-on-author Status: Waiting for the PR author to address review comments labels Aug 17, 2024
@RalfJung
Copy link
Member

Looks good, thanks!
@bors r+

@bors
Copy link
Contributor

bors commented Aug 17, 2024

📌 Commit de64092 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 17, 2024

⌛ Testing commit de64092 with merge 85c5a8e...

@bors
Copy link
Contributor

bors commented Aug 17, 2024

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 85c5a8e to master...

@bors bors merged commit 85c5a8e into rust-lang:master Aug 17, 2024
@tiif tiif deleted the epollfix branch August 18, 2024 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Waiting for a review to complete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pass-dep/libc/libc-epoll.rs test does not pass when run against real system
4 participants