diff options
author | Tamir Duberstein <tamird@google.com> | 2021-05-25 11:12:08 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-25 11:14:23 -0700 |
commit | 090ee43a1ced12d2f55e00dcd01813a4f3ea1ae5 (patch) | |
tree | 4263a0e310e1c6f22635c1e50ae465e60b5fef6b /test/syscalls | |
parent | 3272400a4f21c22a02c95956e860efde45c42f7c (diff) |
Expect POLLRDHUP on Fuchsia
PiperOrigin-RevId: 375749377
Diffstat (limited to 'test/syscalls')
-rw-r--r-- | test/syscalls/linux/socket_inet_loopback.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_inet_loopback.cc b/test/syscalls/linux/socket_inet_loopback.cc index f99d6f1c7..2fc160cdd 100644 --- a/test/syscalls/linux/socket_inet_loopback.cc +++ b/test/syscalls/linux/socket_inet_loopback.cc @@ -532,7 +532,7 @@ TEST_P(SocketInetLoopbackTest, TCPInfoState) { int n = poll(&pfd, 1, kTimeout); ASSERT_GE(n, 0) << strerror(errno); ASSERT_EQ(n, 1); - if (IsRunningOnGvisor()) { + if (IsRunningOnGvisor() && GvisorPlatform() != Platform::kFuchsia) { // TODO(gvisor.dev/issue/6015): Notify POLLRDHUP on incoming FIN. ASSERT_EQ(pfd.revents, POLLIN); } else { |