summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libsync/tests')
-rw-r--r--libsync/tests/sync_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libsync/tests/sync_test.cpp b/libsync/tests/sync_test.cpp
index 7c65756f0..ff8a300f1 100644
--- a/libsync/tests/sync_test.cpp
+++ b/libsync/tests/sync_test.cpp
@@ -364,8 +364,7 @@ TEST(FenceTest, PollOnDestroyedTimeline) {
364 struct pollfd fds; 364 struct pollfd fds;
365 fds.fd = fenceKill.getFd(); 365 fds.fd = fenceKill.getFd();
366 fds.events = POLLIN | POLLERR; 366 fds.events = POLLIN | POLLERR;
367 ASSERT_EQ(poll(&fds, 1, -1), 1); 367 ASSERT_EQ(poll(&fds, 1, 0), 0);
368 ASSERT_TRUE(fds.revents & POLLERR);
369 } 368 }
370 }; 369 };
371 370