Searched refs:CHILD_REQUIRE_EQ (Results 1 – 2 of 2) sorted by relevance
/freebsd/tests/sys/kern/ |
H A D | ktrace_test.c | 64 #define CHILD_REQUIRE_EQ(actual, expected) do { \ macro 189 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() 192 CHILD_REQUIRE_EQ(errno, ENOTCAPABLE); in ATF_TC_BODY() 226 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() 230 CHILD_REQUIRE_EQ(errno, ENOTCAPABLE); in ATF_TC_BODY() 260 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() 305 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() 346 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() 392 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() 435 CHILD_REQUIRE_EQ(error, SIGUSR1); in ATF_TC_BODY() [all …]
|
H A D | ptrace_test.c | 88 #define CHILD_REQUIRE_EQ(actual, expected) do { \ macro 237 CHILD_REQUIRE_EQ(0, read(cpipe[1], &c, sizeof(c))); in ATF_TC_BODY() 285 CHILD_REQUIRE_EQ(read(cpipe[1], &c, sizeof(c)), in ATF_TC_BODY() 302 CHILD_REQUIRE_EQ(wpid, child); in ATF_TC_BODY() 304 CHILD_REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 309 CHILD_REQUIRE_EQ(write(dpipe[1], &c, sizeof(c)), in ATF_TC_BODY() 313 CHILD_REQUIRE_EQ(read(dpipe[1], &c, sizeof(c)), 0); in ATF_TC_BODY() 316 CHILD_REQUIRE_EQ(wpid, child); in ATF_TC_BODY() 318 CHILD_REQUIRE_EQ(WEXITSTATUS(status), 1); in ATF_TC_BODY() 381 CHILD_REQUIRE_EQ(read(cpipe[1], &c, sizeof(c)), in ATF_TC_BODY() [all …]
|