Searched refs:EXPECT_SYSZR (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 277 #define EXPECT_SYSZR(cond, expr) \ macro 857 CASE_TEST(kill_0); EXPECT_SYSZR(1, kill(getpid(), 0)); break; in run_syscall() 858 CASE_TEST(kill_CONT); EXPECT_SYSZR(1, kill(getpid(), 0)); break; in run_syscall() 862 CASE_TEST(brk); EXPECT_SYSZR(1, brk(sbrk(0))); break; in run_syscall() 864 CASE_TEST(chdir_dot); EXPECT_SYSZR(1, chdir(".")); break; in run_syscall() 869 CASE_TEST(chroot_root); EXPECT_SYSZR(euid0, chroot("/")); break; in run_syscall() 873 CASE_TEST(close_dup); EXPECT_SYSZR(1, close(dup(0))); break; in run_syscall() 881 CASE_TEST(fork); EXPECT_SYSZR(1, test_fork()); break; in run_syscall() 901 CASE_TEST(pipe); EXPECT_SYSZR(1, test_pipe()); break; in run_syscall() 902 CASE_TEST(poll_null); EXPECT_SYSZR(1, poll(NULL, 0, 0)); break; in run_syscall() [all …]
|