Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/landlock/
Dcommon.h117 EXPECT_NE(NULL, cap_p) in _init_caps()
121 EXPECT_NE(-1, cap_clear(cap_p)) in _init_caps()
126 EXPECT_NE(-1, cap_set_flag(cap_p, CAP_PERMITTED, in _init_caps()
132 EXPECT_NE(-1, cap_set_proc(cap_p)) in _init_caps()
136 EXPECT_NE(-1, cap_free(cap_p)) in _init_caps()
161 EXPECT_NE(NULL, cap_p) in _effective_cap()
165 EXPECT_NE(-1, cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &caps, value)) in _effective_cap()
169 EXPECT_NE(-1, cap_set_proc(cap_p)) in _effective_cap()
173 EXPECT_NE(-1, cap_free(cap_p)) in _effective_cap()
/linux-6.1.9/tools/testing/selftests/net/
Dtls.c188 EXPECT_NE(cmsg, NULL); in tls_recv_cmsg()
224 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
439 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F()
451 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
549 EXPECT_NE(recv(self->fd, mem, send_len, 0), -1); in TEST_F()
580 EXPECT_NE(recv(self->fd, buf, total_len, 0), -1); in TEST_F()
616 EXPECT_NE(recv(self->cfd, buf, total_len, 0), -1); in TEST_F()
806 EXPECT_NE(recvmsg(self->cfd, &hdr, 0), -1); in TEST_F()
826 EXPECT_NE(recvmsg(self->cfd, &hdr, 0), -1); in TEST_F()
852 EXPECT_NE(recvmsg(self->cfd, &hdr, 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()
/linux-6.1.9/tools/testing/selftests/nolibc/
Dnolibc-test.c171 #define EXPECT_NE(cond, expr, val) \ macro
559 CASE_TEST(setcmp_blah_blah2); EXPECT_NE(1, strcmp("blah", "blah2"), 0); break; in run_stdlib()
562 CASE_TEST(setncmp_blah_blah5); EXPECT_NE(1, strncmp("blah", "blah5", 5), 0); break; in run_stdlib()
563 CASE_TEST(setncmp_blah_blah6); EXPECT_NE(1, strncmp("blah", "blah6", 6), 0); break; in run_stdlib()
/linux-6.1.9/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c72 EXPECT_NE(mkdtemp(binderfs_mntpt), NULL) { in __do_binderfs_test()
146 EXPECT_NE(ret, 0) { in __do_binderfs_test()
/linux-6.1.9/tools/testing/selftests/perf_events/
Dsigtrap_threads.c163 EXPECT_NE(ctx.tids_want_signal, 0); in TEST_F()
/linux-6.1.9/tools/testing/selftests/sgx/
Dmain.c206 EXPECT_NE(addr, MAP_FAILED); in setup_test_encl()
1018 EXPECT_NE(addr, MAP_FAILED); in TEST_F()
1149 EXPECT_NE(addr, MAP_FAILED); in TEST_F()
1293 EXPECT_NE(addr, MAP_FAILED); in TEST_F()
1360 EXPECT_NE(val_64, 0); in TEST_F()
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c763 EXPECT_NE(MAP_FAILED, map1); in TEST_SIGNAL()
1147 EXPECT_NE(0, sigsys->_arch); in TEST_F()
1148 EXPECT_NE(0, (unsigned long)sigsys->_call_addr); in TEST_F()
1717 EXPECT_NE(0, syscall(__NR_getpid)); in TEST_F()
2195 EXPECT_NE(self->mypid, syscall(__NR_getppid)); in TEST_F()
2202 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F()
2285 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F_SIGNAL()
3194 EXPECT_NE(0, ret) { in TEST_SIGNAL()
3823 EXPECT_NE(pipe_fds[0], dup_fd); in TEST()
/linux-6.1.9/tools/testing/selftests/
Dkselftest_harness.h583 #define EXPECT_NE(expected, seen) \ macro
/linux-6.1.9/Documentation/dev-tools/
Dkselftest.rst390 ASSERT_STREQ ASSERT_STRNE EXPECT_EQ EXPECT_NE EXPECT_LT
/linux-6.1.9/tools/testing/selftests/vm/
Dhmm-tests.c2041 EXPECT_NE(0, WIFSIGNALED(status)); in TEST_F()