diff options
Diffstat (limited to 'libc/test/src/sys/epoll/linux/epoll_create_test.cpp')
| -rw-r--r-- | libc/test/src/sys/epoll/linux/epoll_create_test.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/test/src/sys/epoll/linux/epoll_create_test.cpp b/libc/test/src/sys/epoll/linux/epoll_create_test.cpp index 06c17c6cf29e..2bbfe4fbe81f 100644 --- a/libc/test/src/sys/epoll/linux/epoll_create_test.cpp +++ b/libc/test/src/sys/epoll/linux/epoll_create_test.cpp @@ -10,7 +10,6 @@ #include "test/UnitTest/ErrnoCheckingTest.h" #include "test/UnitTest/ErrnoSetterMatcher.h" #include "test/UnitTest/Test.h" -#include <sys/syscall.h> // For syscall numbers. using namespace LIBC_NAMESPACE::testing::ErrnoSetterMatcher; using LlvmLibcEpollCreateTest = LIBC_NAMESPACE::testing::ErrnoCheckingTest; @@ -23,8 +22,6 @@ TEST_F(LlvmLibcEpollCreateTest, Basic) { ASSERT_THAT(LIBC_NAMESPACE::close(fd), Succeeds()); } -#ifdef SYS_epoll_create TEST_F(LlvmLibcEpollCreateTest, Fails) { ASSERT_THAT(LIBC_NAMESPACE::epoll_create(0), Fails(EINVAL)); } -#endif |
