libsync: tests: redefine PollOnDestroyedTimeline() am: 801492b8a6 am: 7b98240813 am: 6a33f58ae8

am: 34a97642a1

Change-Id: I0e4de28d8204c842bc2079bca1a0588842bf78fb
This commit is contained in:
Gustavo Padovan 2017-01-19 00:58:49 +00:00 committed by android-build-merger
commit ed57f926fa
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
};