Home
last modified time | relevance | path

Searched refs:new_prio (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority01.c49 int new_prio, cur_prio; in setpriority_test() local
52 for (new_prio = -20; new_prio < 20; new_prio++) { in setpriority_test()
53 TEST(setpriority(tc->which, *tc->who, new_prio)); in setpriority_test()
58 tc->which, *tc->who, new_prio); in setpriority_test()
65 if (cur_prio != new_prio) { in setpriority_test()
68 cur_prio, new_prio); in setpriority_test()
/third_party/python/Lib/test/
Dtest_os.py3197 new_prio = os.getpriority(os.PRIO_PROCESS, os.getpid())
3198 if base >= 19 and new_prio <= 19:
3202 self.assertEqual(new_prio, base + 1)