diff options
author | Zeling Feng <zeling@google.com> | 2020-10-09 13:05:18 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-09 13:07:01 -0700 |
commit | 46e168b5a00bd85f3739bac6f185c3bdc39dfa37 (patch) | |
tree | 814f5cb4f191d443f71c91c090465dc67d7b7521 /test/packetimpact/tests | |
parent | 6229be5e48578dda3b08b6b0c3d381553e7b31ef (diff) |
Set expect_failure flags on tests that currently fails on fuchsia
PiperOrigin-RevId: 336350318
Diffstat (limited to 'test/packetimpact/tests')
-rw-r--r-- | test/packetimpact/tests/ipv4_id_uniqueness_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/packetimpact/tests/ipv4_id_uniqueness_test.go b/test/packetimpact/tests/ipv4_id_uniqueness_test.go index cf881418c..7f7a768d3 100644 --- a/test/packetimpact/tests/ipv4_id_uniqueness_test.go +++ b/test/packetimpact/tests/ipv4_id_uniqueness_test.go @@ -88,7 +88,8 @@ func TestIPv4RetransmitIdentificationUniqueness(t *testing.T) { // this test. Once the socket option is supported, the following call // can be changed to simply assert success. ret, errno := dut.SetSockOptIntWithErrno(context.Background(), t, remoteFD, unix.IPPROTO_IP, linux.IP_MTU_DISCOVER, linux.IP_PMTUDISC_DONT) - if ret == -1 && errno != unix.ENOTSUP { + // Fuchsia will return ENOPROTOPT errno. + if ret == -1 && errno != unix.ENOPROTOOPT { t.Fatalf("failed to set IP_MTU_DISCOVER socket option to IP_PMTUDISC_DONT: %s", errno) } |