diff options
Diffstat (limited to 'test/syscalls/linux/epoll.cc')
-rw-r--r-- | test/syscalls/linux/epoll.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/epoll.cc b/test/syscalls/linux/epoll.cc index b1760b7d6..c2dc8174c 100644 --- a/test/syscalls/linux/epoll.cc +++ b/test/syscalls/linux/epoll.cc @@ -499,7 +499,7 @@ TEST(EpollTest, PipeReaderHupAfterWriterClosed) { TEST(EpollTest, DoubleLayerEpoll) { int pipefds[2]; - ASSERT_THAT(pipe(pipefds), SyscallSucceeds()); + ASSERT_THAT(pipe2(pipefds, O_NONBLOCK), SyscallSucceeds()); FileDescriptor rfd(pipefds[0]); FileDescriptor wfd(pipefds[1]); |