/linux-6.1.9/tools/testing/selftests/landlock/ |
D | common.h | 117 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/ |
D | tls.c | 188 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 …]
|
D | reuseaddr_ports_exhausted.c | 117 EXPECT_NE(-1, fd[1]) TH_LOG("should succeed to bind to connect to different destinations."); in TEST() 146 …EXPECT_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/ |
D | nolibc-test.c | 171 #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/ |
D | binderfs_test.c | 72 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/ |
D | sigtrap_threads.c | 163 EXPECT_NE(ctx.tids_want_signal, 0); in TEST_F()
|
/linux-6.1.9/tools/testing/selftests/sgx/ |
D | main.c | 206 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/ |
D | seccomp_bpf.c | 763 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/ |
D | kselftest_harness.h | 583 #define EXPECT_NE(expected, seen) \ macro
|
/linux-6.1.9/Documentation/dev-tools/ |
D | kselftest.rst | 390 ASSERT_STREQ ASSERT_STRNE EXPECT_EQ EXPECT_NE EXPECT_LT
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | hmm-tests.c | 2041 EXPECT_NE(0, WIFSIGNALED(status)); in TEST_F()
|