HomeFreeBSD

ping tests: Add a regression test

Description

ping tests: Add a regression test

Test regression fixed in 4630a3252ac8. Add two tests that do not
use the verbose flag, so the code path in question can be reached:

  1. Respond with a proper ICMP destination host unreachable packet.
  2. Respond with a doctored ICMP destination host unreachable packet, that has the ICMP Identifier field modified (+1 bit).

Reviewed by: cy
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D39244

Details

Provenance
jlduranAuthored on Mar 26 2023, 3:11 AM
cyCommitted on Mar 27 2023, 2:54 AM
Reviewer
cy
Differential Revision
D39244: ping tests: Add a regression test
Parents
rGec1bc530027f: arm64: cpu_switch: don't zero out pcb_onfault
Branches
Unknown
Tags
Unknown