libsync: tests: redefine PollOnDestroyedTimeline() am: 801492b8a6
am: 7b98240813
am: 6a33f58ae8
am: 34a97642a1
Change-Id: I0e4de28d8204c842bc2079bca1a0588842bf78fb
This commit is contained in:
commit
ed57f926fa
|
@ -364,8 +364,7 @@ TEST(FenceTest, PollOnDestroyedTimeline) {
|
|||
struct pollfd fds;
|
||||
fds.fd = fenceKill.getFd();
|
||||
fds.events = POLLIN | POLLERR;
|
||||
ASSERT_EQ(poll(&fds, 1, -1), 1);
|
||||
ASSERT_TRUE(fds.revents & POLLERR);
|
||||
ASSERT_EQ(poll(&fds, 1, 0), 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue