HomeFreeBSD

pkill tests: Fix pkill usage in the pkill -x test

Description

pkill tests: Fix pkill usage in the pkill -x test

The target process name(s) mark the beginning of the command's
positional parameters, so the -P filter wasn't getting applied as
intended. As a result, the second "pkill -x sleep -P $$" would kill all
sleep(1) processes in the system, which can cause problems when running
tests in parallel.

MFC after: 2 weeks

Details

Provenance
markjAuthored on Sat, Mar 15, 11:12 AM
Parents
rGcf6a7804699f: pf: Update a dummy TCP checksum field in pf_test_state_icmp()
Branches
Unknown
Tags
Unknown