renice: Clean up the tests a bit.MFC after: 1 weekSponsored by: Klara, Inc.Reviewed by: ngie, asomersDifferential Revision: https://reviews.freebsd.org/D43087(cherry picked from commit afdce08
renice: Clean up the tests a bit.MFC after: 1 weekSponsored by: Klara, Inc.Reviewed by: ngie, asomersDifferential Revision: https://reviews.freebsd.org/D43087(cherry picked from commit afdce0837014fb7a41fced959c9457f89e878052)
show more ...
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 weekSponsored by:
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 weekSponsored by: Klara, Inc.Reviewed by: thjDifferential Revision: https://reviews.freebsd.org/D39650
renice: Clean up the tests.MFC after: 1 weekSponsored by: Klara, Inc.Reviewed by: kevansDifferential Revision: https://reviews.freebsd.org/D39629
renice: Avoid segfault if -n flag is given without argument.Fixes: 65ee0a8495538MFC after: 1 weekSponsored by: Klara, Inc.Reviewed by: kevansDifferential Revision: https://reviews.freebsd.org/
renice: Avoid segfault if -n flag is given without argument.Fixes: 65ee0a8495538MFC after: 1 weekSponsored by: Klara, Inc.Reviewed by: kevansDifferential Revision: https://reviews.freebsd.org/D39623
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.Approve
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: desObtained from: chsSponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D36930
renice: Prevent running regression tests in parallelrenice_abs_user and renice_rel_user tests modify global state, so theyare not compatible with parallel execution.Reviewed by: asomersSponsore
renice: Prevent running regression tests in parallelrenice_abs_user and renice_rel_user tests modify global state, so theyare not compatible with parallel execution.Reviewed by: asomersSponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D36720
renice: add unit tests.Sponsored by: Klara, Inc.