libsync: tests: redefine PollOnDestroyedTimeline()
am: 801492b8a6
Change-Id: I1e75acee45764fa6a3c246edfad544a682fa20bd
This commit is contained in:
commit
7b98240813
|
@ -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