test-sched-prio.c revision fa3cd7394c227ad38c5c09b2bc2d035e7fb14a76
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2012 Holger Hans Peter Freyther
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sched.h>
#include "manager.h"
Manager *m;
/* prepare the test */
/* load idle ok */
/*
* load idle bad. This should print a warning but we have no way to look at it.
*/
/*
* load rr ok.
* Test that the default priority is moving from 0 to 1.
*/
/*
* load rr bad.
* Test that the value of 0 and 100 is ignored.
*/
/*
* load rr change.
* Test that anything between 1 and 99 can be set.
*/
return 0;
}