HomeFreeBSD

renice: Force /bin/sh usage on su calls for the regression tests.

Description

renice: Force /bin/sh usage on su calls for the regression tests.

If the root account is configured to use a different shell than sh,
it fails to retreive the pid of the background process.

Approved by: des
Obtained from: chs
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D36930

(cherry picked from commit 07b1ea961af77d728dfef4d0a11f98a8ab2fe226)

Details

Provenance
olivierAuthored on Oct 13 2022, 3:23 PM
desCommitted on Jan 21 2024, 4:11 PM
Differential Revision
D36930: renice: fix renice_abs_user and renice_rel_user if root user configured with other shell as sh
Parents
rGedef4d715eea: vm/vm_object.c: minor cleanup
Branches
Unknown
Tags
Unknown