From 9da17a8fdddf953b2622abbf5863d81ef454fd4b Mon Sep 17 00:00:00 2001 From: Jeff Martin Date: Thu, 25 Apr 2024 08:52:22 -0700 Subject: [PATCH] Run "SendWithoutTargetDevice" test on Fuchsia This test is expected to pass for Fuchsia, but not gVisor. PiperOrigin-RevId: 628090196 --- test/syscalls/linux/packet_socket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/syscalls/linux/packet_socket.cc b/test/syscalls/linux/packet_socket.cc index 05be0ba9b..d0e2c33be 100644 --- a/test/syscalls/linux/packet_socket.cc +++ b/test/syscalls/linux/packet_socket.cc @@ -402,7 +402,7 @@ TEST_P(PacketSocketTest, ReceiveSentBoundToProtocolAll) { // sendto on a packet socket (e.g. the interface cannot be inferred from the // bound address). TEST_P(PacketSocketTest, SendWithoutTargetDevice) { - if (IsRunningOnGvisor()) { + if (IsRunningOnGvisor() && GvisorPlatform() != Platform::kFuchsia) { GTEST_SKIP() << "gVisor does not support sending on packet sockets."; }