Lines Matching refs:EXPECT_SYSNE
337 #define EXPECT_SYSNE(cond, expr, val) \ macro
1022 CASE_TEST(getpid); EXPECT_SYSNE(1, getpid(), -1); break; in run_syscall()
1023 CASE_TEST(getppid); EXPECT_SYSNE(1, getppid(), -1); break; in run_syscall()
1024 CASE_TEST(gettid); EXPECT_SYSNE(has_gettid, gettid(), -1); break; in run_syscall()
1025 CASE_TEST(getpgid_self); EXPECT_SYSNE(1, getpgid(0), -1); break; in run_syscall()
1044 CASE_TEST(dup_0); tmp = dup(0); EXPECT_SYSNE(1, tmp, -1); close(tmp); break; in run_syscall()
1046 CASE_TEST(dup2_0); tmp = dup2(0, 100); EXPECT_SYSNE(1, tmp, -1); close(tmp); break; in run_syscall()
1048 CASE_TEST(dup3_0); tmp = dup3(0, 100, 0); EXPECT_SYSNE(1, tmp, -1); close(tmp); break; in run_syscall()
1052 CASE_TEST(getdents64_root); EXPECT_SYSNE(1, test_getdents64("/"), -1); break; in run_syscall()
1068 …CASE_TEST(open_tty); EXPECT_SYSNE(1, tmp = open("/dev/null", 0), -1); if (tmp != -1) clos… in run_syscall()
1072 …CASE_TEST(poll_stdout); EXPECT_SYSNE(1, ({ struct pollfd fds = { 1, POLLOUT, 0}; poll(&fds, … in run_syscall()
1080 …CASE_TEST(select_stdout); EXPECT_SYSNE(1, ({ fd_set fds; FD_ZERO(&fds); FD_SET(1, &fds); selec… in run_syscall()