README
1
2 TEST SUITE:
3
4 The directory cpuctl_fj contains the tests related to the cpu controller.
5
6 Cpu controller is a mechanism for assigning cpu resource (in percent) to
7 a set of tasks.
8
9 There are total 22 testcases that have been added. These testcases
10 contain the basis operation test and part functionality test of cpu
11 controller.
12
13 NOTE: the test can be run by root only.
14
15 TESTS AIM:
16
17 The aim of the tests is to test the functionality of cpu controller.
18
19 FILES DESCRIPTION:
20
21 run_cpuctl_test_fj.sh
22 --------------------
23 This script runs all the 22 testcases.
24
25 cpuctl_fj_cpu-hog.c
26 --------------------
27 The program does a calculation of sqrt till catched a signal.
28
29 cpuctl_fj_simple_echo.c
30 --------------------
31 The command "echo" can't return the errno. So we write this program to
32 instead of "echo".
33
34 Makefile
35 --------------------
36 The usual makefile for this directory
37
38 README
39 ------
40 The one you have gone through.
41
42