HomeFreeBSD

renice: Factor out common code in tests.

Description

renice: Factor out common code in tests.

Furthermore, prefer test -eq (which ignores whitespace) over a strict string equality test when comparing numerical values.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: thj
Differential Revision: https://reviews.freebsd.org/D39650

Details

Provenance
desAuthored on Apr 18 2023, 5:14 PM
Reviewer
thj
Differential Revision
D39650: renice: Factor out common code in tests.
Parents
rG2ad584c5551d: tcp: Inconsistent use of hpts_calling flag
Branches
Unknown
Tags
Unknown