#!/bin/sh
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# args: -R 13,10,11
# note that 13 = RLIMIT_NICE

SRCDIR="$(dirname "$0")"

. "${SRCDIR}"/common.sh

grep "Max nice priority\s*10\s*11" /proc/self/limits || die "nice limit not set"
exit 0