diff options
author | Brian Geffon <bgeffon@google.com> | 2019-01-08 14:45:17 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-01-08 14:46:23 -0800 |
commit | bc19103d589352d7a31f088585d68ef224eaed4c (patch) | |
tree | 159ce5a65de1740abfb7c3847605b8e21db0e50f /test | |
parent | 3676b7ff1ca07e9fec1e380a0c2068390ce5d8de (diff) |
Enable proc/self/fd test on linux and disable only on gvisor.
PiperOrigin-RevId: 228403149
Change-Id: Iab212e49d9eb27d785bddc9fd447835ce8c485ae
Diffstat (limited to 'test')
-rw-r--r-- | test/syscalls/linux/socket_unix.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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. |