ci: rewrite from ground up

This commit is contained in:
En-En 2025-08-21 15:54:48 +00:00 committed by Supreeeme
parent d759c64681
commit 9052dd556a
4 changed files with 46 additions and 81 deletions

View file

@ -131,7 +131,7 @@ impl Fixture {
// wait for connection
let fd = unsafe { BorrowedFd::borrow_raw(testwl.poll_fd().as_raw_fd()) };
let pollfd = PollFd::from_borrowed_fd(fd, PollFlags::IN);
assert!(poll(&mut [pollfd.clone()], 100).unwrap() > 0);
assert!(poll(&mut [pollfd.clone()], -1).unwrap() > 0);
testwl.dispatch();
let try_bool_timeout = |b: &AtomicBool| {