/tools/testing/selftests/rtc/ |
D | rtctest.c | 32 ASSERT_NE(-1, self->fd); in FIXTURE_SETUP() 45 ASSERT_NE(-1, rc); in TEST_F() 67 ASSERT_NE(-1, rc); 74 ASSERT_NE(-1, rc); 97 ASSERT_NE(-1, rc); in TEST_F() 98 ASSERT_NE(0, rc); in TEST_F() 102 ASSERT_NE(-1, rc); in TEST_F() 109 ASSERT_NE(-1, rc); in TEST_F() 121 ASSERT_NE(-1, rc); in TEST_F() 134 ASSERT_NE(-1, rc); in TEST_F() [all …]
|
/tools/testing/selftests/vm/ |
D | hmm-tests.c | 235 ASSERT_NE(npages, 0); in TEST_F() 239 ASSERT_NE(buffer, NULL); in TEST_F() 244 ASSERT_NE(buffer->mirror, NULL); in TEST_F() 250 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F() 298 ASSERT_NE(npages, 0); in TEST_F() 302 ASSERT_NE(buffer, NULL); in TEST_F() 307 ASSERT_NE(buffer->mirror, NULL); in TEST_F() 313 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F() 357 ASSERT_NE(npages, 0); in TEST_F() 361 ASSERT_NE(buffer, NULL); in TEST_F() [all …]
|
/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 52 ASSERT_NE(MAP_FAILED, addr) { in TEST() 96 ASSERT_NE(MAP_FAILED, addr) { in TEST() 204 ASSERT_NE(NULL, vec) { in TEST() 233 ASSERT_NE(MAP_FAILED, addr) { in TEST() 309 ASSERT_NE(NULL, vec) { in TEST() 315 ASSERT_NE(-1, fd) { in TEST() 332 ASSERT_NE(MAP_FAILED, addr) { in TEST()
|
/tools/testing/selftests/net/ |
D | reuseaddr_ports_exhausted.c | 61 ASSERT_NE(-1, fd) TH_LOG("failed to open socket."); in bind_port() 92 ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind."); in TEST() 112 ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind."); in TEST() 145 ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind."); in TEST()
|
D | tls.c | 1092 ASSERT_NE(pid, -1); in test_mutliproc()
|
/tools/testing/selftests/ptrace/ |
D | vmaccess.c | 63 ASSERT_NE(k, -1); in TEST() 64 ASSERT_NE(k, 0); in TEST() 65 ASSERT_NE(k, pid); in TEST()
|
/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 449 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() 454 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() 459 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() 465 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() 468 ASSERT_NE(sys_mount_setattr(-1, "mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() 489 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, NULL, in TEST_F() 493 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, (void *)s, in TEST_F() 497 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, 0), 0); in TEST_F() 500 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() 504 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F() [all …]
|
/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 234 ASSERT_NE(0, keyia) TH_LOG("keyia instructions did nothing"); in TEST() 235 ASSERT_NE(0, keyib) TH_LOG("keyib instructions did nothing"); in TEST() 236 ASSERT_NE(0, keyda) TH_LOG("keyda instructions did nothing"); in TEST() 237 ASSERT_NE(0, keydb) TH_LOG("keydb instructions did nothing"); in TEST() 249 ASSERT_NE(0, keyg) TH_LOG("keyg instructions did nothing"); in TEST()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_setns_test.c | 345 ASSERT_NE(setns(self->pidfd, 0), 0); in TEST_F() 348 ASSERT_NE(setns(self->pidfd, -1), 0); in TEST_F() 351 ASSERT_NE(setns(self->pidfd, CLONE_VM), 0); in TEST_F() 354 ASSERT_NE(setns(self->pidfd, CLONE_NEWUSER | CLONE_VM), 0); in TEST_F() 364 ASSERT_NE(setns(self->child_pidfd_exited, CLONE_NEWUSER | CLONE_NEWNET), in TEST_F() 527 ASSERT_NE(setns(self->child_pidfd2, info->flag), 0) { in TEST_F() 536 ASSERT_NE(setns(self->child_nsfds2[i], info->flag), 0) { in TEST_F() 554 ASSERT_NE(setns(fd, 0), 0); in TEST()
|
D | pidfd_wait.c | 59 ASSERT_NE(pid, 0); in TEST() 67 ASSERT_NE(pid, 0); in TEST()
|
/tools/testing/selftests/perf_events/ |
D | remove_on_exec.c | 90 ASSERT_NE(self->fd, -1); in FIXTURE_SETUP() 138 ASSERT_NE(pipe(pipefd), -1); in TEST_F() 141 ASSERT_NE(dup2(pipefd[1], STDOUT_FILENO), -1); in TEST_F()
|
D | sigtrap_threads.c | 127 ASSERT_NE(self->fd, -1); in FIXTURE_SETUP()
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 419 ASSERT_NE(NULL, filter); in TEST() 432 ASSERT_NE(0, ret) { in TEST() 456 ASSERT_NE(NULL, filter); in TEST() 478 ASSERT_NE(0, ret) { in TEST() 751 ASSERT_NE(-1, fd); in TEST_SIGNAL() 841 ASSERT_NE(SIBLING_EXIT_FAILURE, (unsigned long)status); in kill_thread_or_group() 1049 ASSERT_NE(NULL, self->prog.filter); in FIXTURE_SETUP() 1197 ASSERT_NE(NULL, self->_x.filter); \ in FIXTURE_SETUP() 1654 ASSERT_NE(NULL, self->prog.filter); in FIXTURE_SETUP() 2110 ASSERT_NE(self->mytid, 1) { in FIXTURE_SETUP() [all …]
|
/tools/testing/selftests/landlock/ |
D | base_test.c | 30 ASSERT_NE(NULL, buf); in TEST() 302 ASSERT_NE(NULL, cmsg); in TEST()
|
D | fs_test.c | 132 ASSERT_NE(path[0], '\0'); in mkdir_parents() 134 ASSERT_NE(NULL, walker); in mkdir_parents() 565 ASSERT_NE(NULL, rules) in create_ruleset() 569 ASSERT_NE(NULL, rules[0].path) in create_ruleset()
|
/tools/testing/selftests/nci/ |
D | nci_dev.c | 415 ASSERT_NE(self->sd, -1); in FIXTURE_SETUP() 419 ASSERT_NE(self->fid, -1); in FIXTURE_SETUP() 426 ASSERT_NE(rc, -1); in FIXTURE_SETUP()
|
/tools/testing/selftests/sgx/ |
D | main.c | 188 ASSERT_NE(sgx_enter_enclave_sym, NULL); in FIXTURE_SETUP()
|
/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 408 ASSERT_NE(mkdtemp(binderfs_mntpt), NULL) { in TEST()
|
/tools/testing/selftests/ |
D | kselftest_harness.h | 457 #define ASSERT_NE(expected, seen) \ macro
|