Home
last modified time | relevance | path

Searched refs:ASSERT_NE (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/rtc/
A Drtctest.c50 ASSERT_NE(-1, rc); in TEST_F()
99 ASSERT_NE(-1, rc);
107 ASSERT_NE(-1, rc);
151 ASSERT_NE(-1, rc);
179 ASSERT_NE(0, rc); in TEST_F()
190 ASSERT_NE(-1, rc); in TEST_F()
206 ASSERT_NE(-1, rc); in TEST_F()
219 ASSERT_NE(-1, rc); in TEST_F()
233 ASSERT_NE(0, rc); in TEST_F()
291 ASSERT_NE(0, rc); in TEST_F()
[all …]
/linux-6.3-rc2/tools/testing/selftests/user_events/
A Dftrace_test.c171 ASSERT_NE(-1, self->status_fd); in FIXTURE_SETUP()
174 ASSERT_NE(-1, self->data_fd); in FIXTURE_SETUP()
205 ASSERT_NE(0, reg.status_bit); in TEST_F()
210 ASSERT_NE(0, reg.status_bit); in TEST_F()
219 ASSERT_NE(NULL, status_page); in TEST_F()
270 ASSERT_NE(0, reg.status_bit); in TEST_F()
274 ASSERT_NE(NULL, status_page); in TEST_F()
309 ASSERT_NE(MAP_FAILED, anon); in TEST_F()
319 ASSERT_NE(0, reg.status_bit); in TEST_F()
348 ASSERT_NE(0, reg.status_bit); in TEST_F()
[all …]
A Dperf_test.c97 ASSERT_NE(-1, self->status_fd); in FIXTURE_SETUP()
100 ASSERT_NE(-1, self->data_fd); in FIXTURE_SETUP()
123 ASSERT_NE(MAP_FAILED, status_page); in TEST_F()
128 ASSERT_NE(0, reg.status_bit); in TEST_F()
133 ASSERT_NE(-1, id); in TEST_F()
135 ASSERT_NE(-1, offset); in TEST_F()
146 ASSERT_NE(-1, fd); in TEST_F()
149 ASSERT_NE(MAP_FAILED, perf_page); in TEST_F()
152 ASSERT_NE(0, status_check(status_page, reg.status_bit)); in TEST_F()
159 ASSERT_NE(-1, write(self->data_fd, &event, sizeof(event))); in TEST_F()
A Ddyn_test.c40 ASSERT_NE(-1, Append(x)); \
107 ASSERT_NE(-1, Append("u:__test_event struct custom a 20")); in TEST_F()
113 ASSERT_NE(-1, Append("u:__test_event u32 a; u32 b")); in TEST_F()
122 ASSERT_NE(-1, Append("u:__test_event u32 a; u32 b")); in TEST_F()
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dhmm-tests.c298 ASSERT_NE(npages, 0); in TEST_F()
361 ASSERT_NE(npages, 0); in TEST_F()
420 ASSERT_NE(npages, 0); in TEST_F()
468 ASSERT_NE(npages, 0); in TEST_F()
536 ASSERT_NE(npages, 0); in TEST_F()
614 ASSERT_NE(npages, 0); in TEST_F()
852 ASSERT_NE(npages, 0); in TEST_F()
907 ASSERT_NE(npages, 0); in TEST_F()
963 ASSERT_NE(npages, 0); in TEST_F()
1011 ASSERT_NE(npages, 0); in TEST_F()
[all …]
A Dmigration.c51 ASSERT_NE(self->threads, NULL); in FIXTURE_SETUP()
53 ASSERT_NE(self->pids, NULL); in FIXTURE_SETUP()
124 ASSERT_NE(ptr, MAP_FAILED);
150 ASSERT_NE(ptr, MAP_FAILED);
179 ASSERT_NE(ptr, MAP_FAILED);
A Dmdwe_test.c128 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
139 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
154 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
170 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
191 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
/linux-6.3-rc2/tools/testing/memblock/tests/
A Dalloc_helpers_api.c32 ASSERT_NE(allocated_ptr, NULL); in alloc_from_simple_generic_check()
76 ASSERT_NE(allocated_ptr, NULL); in alloc_from_misaligned_generic_check()
123 ASSERT_NE(allocated_ptr, NULL); in alloc_from_top_down_high_addr_check()
170 ASSERT_NE(allocated_ptr, NULL); in alloc_from_top_down_no_space_above_check()
206 ASSERT_NE(allocated_ptr, NULL); in alloc_from_top_down_min_addr_cap_check()
249 ASSERT_NE(allocated_ptr, NULL); in alloc_from_bottom_up_high_addr_check()
295 ASSERT_NE(allocated_ptr, NULL); in alloc_from_bottom_up_no_space_above_check()
328 ASSERT_NE(allocated_ptr, NULL); in alloc_from_bottom_up_min_addr_cap_check()
A Dalloc_nid_api.c84 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_top_down_simple_check()
137 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_top_down_end_misaligned_check()
187 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_exact_address_generic_check()
237 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_top_down_narrow_range_check()
333 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_min_reserved_generic_check()
383 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_max_reserved_generic_check()
446 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_top_down_reserved_with_space_check()
509 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_reserved_full_merge_generic_check()
573 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_top_down_reserved_no_space_check()
668 ASSERT_NE(allocated_ptr, NULL); in alloc_nid_top_down_cap_max_check()
[all …]
A Dalloc_api.c38 ASSERT_NE(allocated_ptr, NULL); in alloc_top_down_simple_check()
96 ASSERT_NE(allocated_ptr, NULL); in alloc_top_down_disjoint_check()
141 ASSERT_NE(allocated_ptr, NULL); in alloc_top_down_before_check()
189 ASSERT_NE(allocated_ptr, NULL); in alloc_top_down_after_check()
239 ASSERT_NE(allocated_ptr, NULL); in alloc_top_down_second_fit_check()
293 ASSERT_NE(allocated_ptr, NULL); in alloc_in_between_generic_check()
429 ASSERT_NE(allocated_ptr, NULL); in alloc_limited_space_generic_check()
517 ASSERT_NE(allocated_ptr, NULL); in alloc_bottom_up_simple_check()
573 ASSERT_NE(allocated_ptr, NULL); in alloc_bottom_up_disjoint_check()
615 ASSERT_NE(allocated_ptr, NULL); in alloc_bottom_up_before_check()
[all …]
A Dalloc_exact_nid_api.c49 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_top_down_numa_simple_check()
105 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_top_down_numa_part_reserved_check()
162 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_top_down_numa_split_range_low_check()
219 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_top_down_numa_no_overlap_split_check()
277 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_top_down_numa_no_overlap_low_check()
318 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_bottom_up_numa_simple_check()
376 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_bottom_up_numa_part_reserved_check()
433 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_bottom_up_numa_split_range_low_check()
490 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_bottom_up_numa_no_overlap_split_check()
548 ASSERT_NE(allocated_ptr, NULL); in alloc_exact_nid_bottom_up_numa_no_overlap_low_check()
[all …]
A Dcommon.h48 #define ASSERT_NE(_expected, _seen) do { \ macro
100 ASSERT_NE(((char *)_seen)[_i], (_expected)); \
/linux-6.3-rc2/tools/testing/selftests/mount_setattr/
A Dmount_setattr_test.c448 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F()
453 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F()
458 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F()
467 ASSERT_NE(sys_mount_setattr(-1, "mnt/A", AT_RECURSIVE, &invalid_attr, in TEST_F()
488 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, NULL, in TEST_F()
492 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, (void *)s, in TEST_F()
511 ASSERT_NE(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, in TEST_F()
1078 ASSERT_NE(sys_mount_setattr(-1, "/", 0, &attr, sizeof(attr)), 0) { in TEST_F()
1096 ASSERT_NE(sys_mount_setattr(-1, "/", 0, &attr, sizeof(attr)), 0) { in TEST_F()
1119 ASSERT_NE(sys_mount_setattr(-1, "/", 0, &attr, sizeof(attr)), 0) { in TEST_F()
[all …]
/linux-6.3-rc2/tools/testing/selftests/mincore/
A Dmincore_selftest.c52 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()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dreuseaddr_ports_exhausted.c61 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()
A Dso_incoming_cpu.c65 ASSERT_NE(self->servers, NULL); in FIXTURE_SETUP()
99 ASSERT_NE(fd, -1); in create_server()
157 ASSERT_NE(CPU_ISSET(i, &cpu_set), 0); in create_clients()
167 ASSERT_NE(fd, -1); in create_clients()
187 ASSERT_NE(fd, -1); in verify_incoming_cpu()
/linux-6.3-rc2/tools/testing/selftests/ptrace/
A Dvmaccess.c63 ASSERT_NE(k, -1); in TEST()
64 ASSERT_NE(k, 0); in TEST()
65 ASSERT_NE(k, pid); in TEST()
/linux-6.3-rc2/tools/testing/selftests/net/af_unix/
A Ddiag_uid.c55 ASSERT_NE(self->netlink_fd, -1); in FIXTURE_SETUP()
58 ASSERT_NE(self->unix_fd, -1); in FIXTURE_SETUP()
127 ASSERT_NE(RTA_OK(attr, rta_len), 0); in render_response()
159 ASSERT_NE(NLMSG_OK(nlh, ret), 0); in receive_response()
A Dunix_connect.c125 ASSERT_NE(-1, self->server); in TEST_F()
/linux-6.3-rc2/tools/testing/selftests/pidfd/
A Dpidfd_setns_test.c345 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()
A Dpidfd_wait.c59 ASSERT_NE(pid, 0); in TEST()
67 ASSERT_NE(pid, 0); in TEST()
/linux-6.3-rc2/tools/testing/selftests/arm64/pauth/
A Dpac.c234 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()
/linux-6.3-rc2/tools/testing/selftests/perf_events/
A Dremove_on_exec.c90 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()
/linux-6.3-rc2/tools/testing/selftests/iommu/
A Diommufd.c64 ASSERT_NE(-1, self->fd); in FIXTURE_SETUP()
205 ASSERT_NE(-1, self->fd); in FIXTURE_SETUP()
735 ASSERT_NE(NULL, tmp2); in check_access_rw()
789 ASSERT_NE(-1, child); in TEST_F()
824 ASSERT_NE(-1, efd); in TEST_F()
842 ASSERT_NE(-1, child); in TEST_F()
1008 ASSERT_NE(-1, self->fd); in FIXTURE_SETUP()
1095 ASSERT_NE(MAP_FAILED, buf); in TEST_F()
1113 ASSERT_NE(-1, fd); in TEST_F()
1116 ASSERT_NE(MAP_FAILED, buf); in TEST_F()
[all …]
/linux-6.3-rc2/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c432 ASSERT_NE(NULL, filter); in TEST()
445 ASSERT_NE(0, ret) { in TEST()
469 ASSERT_NE(NULL, filter); in TEST()
491 ASSERT_NE(0, ret) { in TEST()
764 ASSERT_NE(-1, fd); in TEST_SIGNAL()
2320 ASSERT_NE(ENOSYS, errno) { in TEST()
2371 ASSERT_NE(ENOSYS, errno) { in TEST()
2499 ASSERT_NE(ENOSYS, errno) { in TEST()
2678 ASSERT_NE(ENOSYS, errno) { in TEST_F()
4273 ASSERT_NE(NULL, caps); in FIXTURE_SETUP()
[all …]

Completed in 76 milliseconds

12