From bc19103d589352d7a31f088585d68ef224eaed4c Mon Sep 17 00:00:00 2001 From: Brian Geffon Date: Tue, 8 Jan 2019 14:45:17 -0800 Subject: Enable proc/self/fd test on linux and disable only on gvisor. PiperOrigin-RevId: 228403149 Change-Id: Iab212e49d9eb27d785bddc9fd447835ce8c485ae --- test/syscalls/linux/socket_unix.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/syscalls/linux') diff --git a/test/syscalls/linux/socket_unix.cc b/test/syscalls/linux/socket_unix.cc index 8815ad849..92cff5e5a 100644 --- a/test/syscalls/linux/socket_unix.cc +++ b/test/syscalls/linux/socket_unix.cc @@ -1176,8 +1176,9 @@ TEST_P(UnixSocketPairTest, SocketShutdown) { EXPECT_EQ(data, absl::string_view(buf, 3)); } -// TODO: We should be returning ENXIO and NOT EIO. -TEST_P(UnixSocketPairTest, DISABLED_SocketReopenFromProcfs) { +TEST_P(UnixSocketPairTest, SocketReopenFromProcfs) { + // TODO: We should be returning ENXIO and NOT EIO. + SKIP_IF(IsRunningOnGvisor()); auto sockets = ASSERT_NO_ERRNO_AND_VALUE(NewSocketPair()); // Opening a socket pair via /proc/self/fd/X is a ENXIO. -- cgit v1.2.3