HomeFreeBSD

ptrace_test: eliminate assumption about thread scheduling

Description

ptrace_test: eliminate assumption about thread scheduling

A couple of the ptrace tests make assumptions about which thread in a
multithreaded process will run after a halt. This makes the tests less
portable across branches, and susceptible to future breakage. Instead,
twiddle thread scheduling and priorities to match the tests'
expectation.

X-MFC with: r313992
Sponsored by: Dell EMC

Details

Provenance
badgerAuthored on
Parents
rS315483: MFC r315294:
Branches
Unknown
Tags
Unknown