Searched refs:CASE_TEST (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 422 #define CASE_TEST(name) \ macro 467 CASE_TEST(getpid); EXPECT_SYSNE(1, getpid(), -1); break; in run_syscall() 468 CASE_TEST(getppid); EXPECT_SYSNE(1, getppid(), -1); break; in run_syscall() 470 CASE_TEST(gettid); EXPECT_SYSNE(1, gettid(), -1); break; in run_syscall() 472 CASE_TEST(getpgid_self); EXPECT_SYSNE(1, getpgid(0), -1); break; in run_syscall() 473 CASE_TEST(getpgid_bad); EXPECT_SYSER(1, getpgid(-1), -1, ESRCH); break; in run_syscall() 474 CASE_TEST(kill_0); EXPECT_SYSZR(1, kill(getpid(), 0)); break; in run_syscall() 475 CASE_TEST(kill_CONT); EXPECT_SYSZR(1, kill(getpid(), 0)); break; in run_syscall() 476 CASE_TEST(kill_BADPID); EXPECT_SYSER(1, kill(INT_MAX, 0), -1, ESRCH); break; in run_syscall() 477 …CASE_TEST(sbrk); if ((p1 = p2 = sbrk(4096)) != (void *)-1) p2 = sbrk(-4096); EXPECT_S… in run_syscall() [all …]
|