Commit 36540019 authored by Michael Büsch's avatar Michael Büsch

tests: renice to 10 by default

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent d416d6f4
......@@ -358,9 +358,18 @@ while [ $# -ge 1 ]; do
shift
done
do_renice()
{
renice "$1" "$$"
}
if [ -n "$opt_renice" ]; then
renice "$opt_renice" "$$" || die "Failed to renice"
do_renice "$opt_renice" || die "Failed to renice"
else
# Try to renice. Ignore failure.
do_renice 10
fi
global_retval=0
do_tests "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment