We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b56c3 commit dd292a0Copy full SHA for dd292a0
tests/pass-dep/libc/libc-epoll.rs
@@ -91,6 +91,9 @@ fn test_epoll_socketpair() {
91
let expected_event = u32::try_from(libc::EPOLLRDHUP | libc::EPOLLIN | libc::EPOLLOUT).unwrap();
92
let expected_value = u64::try_from(fds[1]).unwrap();
93
assert!(check_epoll_wait::<8>(epfd, vec![(expected_event, expected_value)]));
94
+
95
+ // Check that this is indeed using "ET" (edge-trigger) semantics: a second epoll should return nothing.
96
+ assert!(check_epoll_wait::<8>(epfd, vec![]));
97
}
98
99
fn test_epoll_ctl_mod() {
0 commit comments