Run "SendWithoutTargetDevice" test on Fuchsia

This test is expected to pass for Fuchsia, but not gVisor.

PiperOrigin-RevId: 628090196
This commit is contained in:
Jeff Martin
2024-04-25 08:58:12 -07:00
committed by gVisor bot
parent 129734a352
commit 9da17a8fdd
+1 -1
View File
@@ -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.";
}