Home
last modified time | relevance | path

Searched refs:NICEINC (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/nice/
Dnice01.c18 #define NICEINC -12 macro
27 TEST(nice(NICEINC)); in verify_nice()
29 if (TST_RET != (orig_nice + NICEINC)) { in verify_nice()
31 NICEINC, TST_RET, orig_nice + NICEINC); in verify_nice()
36 tst_res(TFAIL | TTERRNO, "nice(%d) failed", NICEINC); in verify_nice()
42 if (new_nice != (orig_nice + NICEINC)) { in verify_nice()
44 new_nice, orig_nice + NICEINC); in verify_nice()
48 tst_res(TPASS, "nice(%d) passed", NICEINC); in verify_nice()
50 TEST(nice(-NICEINC)); in verify_nice()
Dnice03.c18 #define NICEINC 2 macro
27 TEST(nice(NICEINC)); in nice_test()
30 tst_res(TFAIL | TTERRNO, "nice(%d) returned -1", NICEINC); in nice_test()
35 tst_res(TFAIL | TTERRNO, "nice(%d) failed", NICEINC); in nice_test()
41 if (new_nice != (orig_nice + NICEINC)) { in nice_test()
43 new_nice, orig_nice + NICEINC); in nice_test()
47 tst_res(TPASS, "nice(%d) passed", NICEINC); in nice_test()
Dnice04.c16 #define NICEINC -10 macro
20 TEST(nice(NICEINC)); in verify_nice()
24 NICEINC, TST_RET); in verify_nice()
30 NICEINC); in verify_nice()
34 tst_res(TPASS, "nice(%i) failed with EPERM", NICEINC); in verify_nice()
Dnice02.c18 #define NICEINC 50 macro
26 TEST(nice(NICEINC)); in verify_nice()
29 tst_res(TFAIL | TTERRNO, "nice(%d) returned -1", NICEINC); in verify_nice()
34 tst_res(TFAIL | TTERRNO, "nice(%d) failed", NICEINC); in verify_nice()
46 tst_res(TPASS, "nice(%d) passed", NICEINC); in verify_nice()