Home
last modified time | relevance | path

Searched refs:EXPECT_NE (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/landlock/
Dcommon.h121 EXPECT_NE(NULL, cap_p) in _init_caps()
125 EXPECT_NE(-1, cap_clear(cap_p)) in _init_caps()
130 EXPECT_NE(-1, cap_set_flag(cap_p, CAP_PERMITTED, in _init_caps()
136 EXPECT_NE(-1, cap_set_proc(cap_p)) in _init_caps()
140 EXPECT_NE(-1, cap_free(cap_p)) in _init_caps()
165 EXPECT_NE(NULL, cap_p) in _effective_cap()
169 EXPECT_NE(-1, cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &caps, value)) in _effective_cap()
173 EXPECT_NE(-1, cap_set_proc(cap_p)) in _effective_cap()
177 EXPECT_NE(-1, cap_free(cap_p)) in _effective_cap()
/tools/testing/selftests/net/
Dtls.c135 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
338 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F()
350 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
448 EXPECT_NE(recv(self->cfd, mem, send_len, 0), -1); in TEST_F()
479 EXPECT_NE(recv(self->cfd, buf, total_len, 0), -1); in TEST_F()
515 EXPECT_NE(recv(self->cfd, buf, total_len, 0), -1); in TEST_F()
606 EXPECT_NE(recvmsg(self->cfd, &hdr, 0), -1); in TEST_F()
626 EXPECT_NE(recvmsg(self->cfd, &hdr, 0), -1); in TEST_F()
653 EXPECT_NE(recvmsg(self->cfd, &hdr, 0), -1); in TEST_F()
673 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F()
[all …]
Dreuseaddr_ports_exhausted.c117 EXPECT_NE(-1, fd[1]) TH_LOG("should succeed to bind to connect to different destinations."); in TEST()
146EXPECT_NE(-1, fd[1]) TH_LOG("should succeed to bind because one socket can be bound in each euid."… in TEST()
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c71 EXPECT_NE(mkdtemp(binderfs_mntpt), NULL) { in __do_binderfs_test()
145 EXPECT_NE(ret, 0) { in __do_binderfs_test()
/tools/testing/selftests/perf_events/
Dsigtrap_threads.c156 EXPECT_NE(ctx.tids_want_signal, 0); in TEST_F()
/tools/testing/selftests/sgx/
Dmain.c150 EXPECT_NE(addr, MAP_FAILED); in FIXTURE_SETUP()
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c756 EXPECT_NE(MAP_FAILED, map1); in TEST_SIGNAL()
1140 EXPECT_NE(0, sigsys->_arch); in TEST_F()
1141 EXPECT_NE(0, (unsigned long)sigsys->_call_addr); in TEST_F()
1700 EXPECT_NE(0, syscall(__NR_getpid)); in TEST_F()
2167 EXPECT_NE(self->mypid, syscall(__NR_getppid)); in TEST_F()
2174 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F()
2234 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F_SIGNAL()
3143 EXPECT_NE(0, ret) { in TEST_SIGNAL()
3769 EXPECT_NE(pipe_fds[0], dup_fd); in TEST()
/tools/testing/selftests/
Dkselftest_harness.h575 #define EXPECT_NE(expected, seen) \ macro