summaryrefslogtreecommitdiff
path: root/tests/sys_epoll_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys_epoll_test.cpp')
-rw-r--r--tests/sys_epoll_test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sys_epoll_test.cpp b/tests/sys_epoll_test.cpp
index d1b411a27..7233ccc24 100644
--- a/tests/sys_epoll_test.cpp
+++ b/tests/sys_epoll_test.cpp
@@ -35,6 +35,11 @@ TEST(sys_epoll, smoke) {
// epoll_pwait without a sigset (which is equivalent to epoll_wait).
ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, NULL));
+#if defined(__BIONIC__)
+ // epoll_pwait64 without a sigset (which is equivalent to epoll_wait).
+ ASSERT_EQ(0, epoll_pwait64(epoll_fd, events, 1, 1, NULL));
+#endif
+
// epoll_pwait with a sigset.
sigset_t ss;
sigemptyset(&ss);