Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/nice/
Dnice01.c31 #define NICEINC -12 macro
40 TEST(nice(NICEINC)); in verify_nice()
42 if (TST_RET != (orig_nice + NICEINC)) { in verify_nice()
44 NICEINC, TST_RET, orig_nice + NICEINC); in verify_nice()
49 tst_res(TFAIL | TTERRNO, "nice(%d) failed", NICEINC); in verify_nice()
55 if (new_nice != (orig_nice + NICEINC)) { in verify_nice()
57 new_nice, orig_nice + NICEINC); in verify_nice()
61 tst_res(TPASS, "nice(%d) passed", NICEINC); in verify_nice()
63 TEST(nice(-NICEINC)); in verify_nice()
Dnice03.c31 #define NICEINC 2 macro
40 TEST(nice(NICEINC)); in nice_test()
43 tst_res(TFAIL | TTERRNO, "nice(%d) returned -1", NICEINC); in nice_test()
48 tst_res(TFAIL | TTERRNO, "nice(%d) failed", NICEINC); in nice_test()
54 if (new_nice != (orig_nice + NICEINC)) { in nice_test()
56 new_nice, orig_nice + NICEINC); in nice_test()
60 tst_res(TPASS, "nice(%d) passed", NICEINC); in nice_test()
Dnice04.c29 #define NICEINC -10 macro
33 TEST(nice(NICEINC)); in verify_nice()
37 NICEINC, TST_RET); in verify_nice()
43 NICEINC); in verify_nice()
47 tst_res(TPASS, "nice(%i) failed with EPERM", NICEINC); in verify_nice()
Dnice02.c31 #define NICEINC 50 macro
39 TEST(nice(NICEINC)); in verify_nice()
42 tst_res(TFAIL | TTERRNO, "nice(%d) returned -1", NICEINC); in verify_nice()
47 tst_res(TFAIL | TTERRNO, "nice(%d) failed", NICEINC); in verify_nice()
59 tst_res(TPASS, "nice(%d) passed", NICEINC); in verify_nice()