Home
last modified time | relevance | path

Searched refs:ASSERT_LT (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dmap_ops.c87 ASSERT_LT(skel->bss->err, 0, "map_update_existing"); in map_ops_update_delete_subtest()
94 ASSERT_LT(skel->bss->err, 0, "map_delete_non_existing"); in map_ops_update_delete_subtest()
112 ASSERT_LT(skel->bss->err, 0, "map_push_when_full"); in map_ops_push_peek_pop_subtest()
122 ASSERT_LT(skel->bss->err, 0, "map_peek_when_empty"); in map_ops_push_peek_pop_subtest()
126 ASSERT_LT(skel->bss->err, 0, "map_pop_when_empty"); in map_ops_push_peek_pop_subtest()
145 ASSERT_LT(skel->bss->err, 0, "map_for_each_with_flags"); in map_ops_for_each_subtest()
H A Dlibbpf_get_fd_by_id_opts.c38 if (!ASSERT_LT(fd, 0, "bpf_map_get_fd_by_id")) in test_libbpf_get_fd_by_id_opts()
42 if (!ASSERT_LT(fd, 0, "bpf_map_get_fd_by_id_opts")) in test_libbpf_get_fd_by_id_opts()
59 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem")) in test_libbpf_get_fd_by_id_opts()
H A Dbloom_filter_map.c21 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid key size")) in test_fail_cases()
26 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value size 0")) in test_fail_cases()
31 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value too large")) in test_fail_cases()
36 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid max entries size")) in test_fail_cases()
42 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid flags")) in test_fail_cases()
H A Dlookup_key.c73 if (!ASSERT_LT(ret, 0, "bpf_prog_get_next_id")) in test_lookup_key()
94 if (!ASSERT_LT(ret, 0, "bpf_prog_get_next_id")) in test_lookup_key()
107 ASSERT_LT(ret, 0, "bpf_prog_get_next_id"); in test_lookup_key()
H A Dverify_pkcs7_sig.c319 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map()
348 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map()
362 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map()
370 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map()
398 ASSERT_LT(ret, 0, "bpf_map_update_elem data_input"); in test_verify_pkcs7_sig_from_map()
460 if (!ASSERT_LT(ret, 0, name)) in test_open_file()
H A Dsock_destroy.c59 if (!ASSERT_LT(n, 0, "client_send on destroyed socket")) in test_tcp_client()
100 if (!ASSERT_LT(n, 0, "client_send on destroyed socket")) in test_tcp_server()
133 if (!ASSERT_LT(n, 0, "client_send on destroyed socket")) in test_udp_client()
H A Dxdp_synproxy.c117 if (!ASSERT_LT(prog_id, buf + size, "find prog id begin")) in test_synproxy()
123 if (!ASSERT_LT(prog_id_end, buf + size, "find prog id end")) in test_synproxy()
H A Dlsm_cgroup.c178 ASSERT_LT(fd, 0, "socket(AF_UNIX)"); in test_lsm_cgroup_functional()
197 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional()
209 ASSERT_LT(bind(fd, (struct sockaddr *)&sa, sizeof(sa)), 0, in test_lsm_cgroup_functional()
H A Dbpf_obj_id.c36 ASSERT_LT(err, 0, "bpf_prog_get_fd_by_id"); in serial_test_bpf_obj_id()
40 ASSERT_LT(err, 0, "bpf_map_get_fd_by_id"); in serial_test_bpf_obj_id()
44 ASSERT_LT(err, 0, "bpf_map_get_fd_by_id"); in serial_test_bpf_obj_id()
H A Dtrace_vprintk.c49 if (!ASSERT_LT(bss->null_data_vprintk_ret, 0, "bss->null_data_vprintk_ret")) in serial_test_trace_vprintk()
H A Dlog_buf.c189 ASSERT_LT(fd, 0, "bad_fd"); in bpf_prog_load_log_buf()
256 ASSERT_LT(fd, 0, "bad_fd"); in bpf_btf_load_log_buf()
H A Dudp_limit.c37 if (!ASSERT_LT(fd2, 0, "socket(fd2)")) in test_udp_limit()
H A Dfentry_test.c20 if (!ASSERT_LT(link_fd, 0, "fentry_attach_link")) in fentry_test_common()
H A Dfexit_test.c20 if (!ASSERT_LT(link_fd, 0, "fexit_attach_link")) in fexit_test_common()
H A Dtoken.c524 if (!ASSERT_LT(map_fd, 0, "stack_map_wo_token_wo_cap_bpf_should_fail")) { in userns_map_create()
533 if (!ASSERT_LT(map_fd, 0, "stack_map_w_token_wo_cap_bpf_should_fail")) { in userns_map_create()
547 if (!ASSERT_LT(map_fd, 0, "stack_map_wo_token_w_cap_bpf_should_fail")) { in userns_map_create()
606 if (!ASSERT_LT(btf_fd, 0, "no_token_no_cap_should_fail")) in userns_btf_load()
613 if (!ASSERT_LT(btf_fd, 0, "token_no_cap_should_fail")) in userns_btf_load()
H A Dget_branch_snapshot.c125 ASSERT_LT(skel->bss->wasted_entries, 10, "check_wasted_entries"); in serial_test_get_branch_snapshot()
H A Dperf_link.c76 if (!ASSERT_LT(get_time_ns(), timeout_time_ns, "run_cnt_timeout")) in serial_test_perf_link()
/linux-6.15/tools/testing/selftests/coredump/
H A Dstackdump_test.c52 ASSERT_LT(ret, sizeof(self->original_core_pattern)); in FIXTURE_SETUP()
109 ASSERT_LT(ret, sizeof(buf)); in TEST_F()
118 ASSERT_LT(0, ret); in TEST_F()
/linux-6.15/tools/testing/selftests/alsa/
H A Dutimer-test.c154 ASSERT_LT(utimer_fd, 0); in TEST()
159 ASSERT_LT(ioctl(timer_dev_fd, SNDRV_TIMER_IOCTL_CREATE, NULL), 0); in TEST()
/linux-6.15/tools/testing/selftests/ptrace/
H A Dget_syscall_info.c155 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST()
178 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST()
/linux-6.15/tools/testing/selftests/pid_namespace/
H A Dregression_enomem.c40 ASSERT_LT(pid, 0); in TEST()
/linux-6.15/tools/testing/selftests/filesystems/statmount/
H A Dlistmount_test.c38 ASSERT_LT(list[cur], list[cur + 1]); in TEST()
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c166 ASSERT_LT(ret, 0); in TEST()
194 ASSERT_LT(ret, 0); in TEST()
/linux-6.15/tools/testing/memblock/tests/
H A Dcommon.h66 #define ASSERT_LT(_expected, _seen) do { \ macro
/linux-6.15/tools/testing/selftests/tdx/
H A Dtdx_guest_test.c138 ASSERT_LT(0, devfd); in TEST()

123