summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-05-25 11:12:08 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-25 11:14:23 -0700
commit090ee43a1ced12d2f55e00dcd01813a4f3ea1ae5 (patch)
tree4263a0e310e1c6f22635c1e50ae465e60b5fef6b /test/syscalls/linux
parent3272400a4f21c22a02c95956e860efde45c42f7c (diff)
Expect POLLRDHUP on Fuchsia
PiperOrigin-RevId: 375749377
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r--test/syscalls/linux/socket_inet_loopback.cc2
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 {