Page MenuHomeFreeBSD

traceroute tests: fix the test when SCTP is supported
ClosedPublic

Authored by ivy on May 13 2025, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 14, 2:45 PM
Unknown Object (File)
Sat, Jun 14, 2:44 PM
Unknown Object (File)
Sat, Jun 14, 2:34 PM
Unknown Object (File)
Sat, Jun 14, 2:12 PM
Unknown Object (File)
Thu, Jun 5, 6:44 AM
Unknown Object (File)
Wed, Jun 4, 5:21 PM
Unknown Object (File)
Fri, May 30, 3:51 PM
Unknown Object (File)
Fri, May 30, 10:22 AM
Subscribers

Details

Summary

The SCTP test assumes a default system configuration where SCTP is not
supported, so the probe packet returns an ICMP error which is displayed
as a !P response. If SCTP is supported, then something else is returned
instead (depending on exactly what probe we sent, but not an ICMP error)
and the test fails.

Since we already check the correct probes are sent using tcpdump, remove
the match for the second hop entirely.

Reported by: Jenkins

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable