Home
last modified time | relevance | path

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

12

/linux/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 Dbloom_filter_map.c17 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid key size")) in test_fail_cases()
22 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value size 0")) in test_fail_cases()
27 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value too large")) in test_fail_cases()
32 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid max entries size")) in test_fail_cases()
38 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid flags")) in test_fail_cases()
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 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 Dlsm_cgroup.c182 ASSERT_LT(fd, 0, "socket(AF_UNIX)"); in test_lsm_cgroup_functional()
201 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional()
213 ASSERT_LT(bind(fd, (struct sockaddr *)&sa, sizeof(sa)), 0, in test_lsm_cgroup_functional()
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 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 Dlog_buf.c191 ASSERT_LT(fd, 0, "bad_fd"); in bpf_prog_load_log_buf()
259 ASSERT_LT(fd, 0, "bad_fd"); in bpf_btf_load_log_buf()
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 Dtoken.c523 if (!ASSERT_LT(map_fd, 0, "stack_map_wo_token_wo_cap_bpf_should_fail")) { in userns_map_create()
532 if (!ASSERT_LT(map_fd, 0, "stack_map_w_token_wo_cap_bpf_should_fail")) { in userns_map_create()
546 if (!ASSERT_LT(map_fd, 0, "stack_map_wo_token_w_cap_bpf_should_fail")) { in userns_map_create()
605 if (!ASSERT_LT(btf_fd, 0, "no_token_no_cap_should_fail")) in userns_btf_load()
612 if (!ASSERT_LT(btf_fd, 0, "token_no_cap_should_fail")) in userns_btf_load()
H A Dudp_limit.c37 if (!ASSERT_LT(fd2, 0, "socket(fd2)")) in test_udp_limit()
H A Dfexit_test.c20 if (!ASSERT_LT(link_fd, 0, "fexit_attach_link")) in fexit_test_common()
H A Dfentry_test.c20 if (!ASSERT_LT(link_fd, 0, "fentry_attach_link")) in fentry_test_common()
H A Dget_branch_snapshot.c125 ASSERT_LT(skel->bss->wasted_entries, 10, "check_wasted_entries"); in serial_test_get_branch_snapshot()
H A Dsnprintf.c62 ASSERT_LT(MIN_SYM_RET, skel->bss->sym_ret, "sym_ret"); in test_snprintf_positive()
/linux/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/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/tools/testing/selftests/pid_namespace/
H A Dregression_enomem.c40 ASSERT_LT(pid, 0); in TEST()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c177 ASSERT_LT(ret, 0); in TEST()
205 ASSERT_LT(ret, 0); in TEST()
/linux/tools/testing/selftests/tdx/
H A Dtdx_guest_test.c138 ASSERT_LT(0, devfd); in TEST()
/linux/tools/testing/memblock/tests/
H A Dcommon.h66 #define ASSERT_LT(_expected, _seen) do { \ macro
/linux/tools/testing/selftests/net/af_unix/
H A Dunix_connect.c142 ASSERT_LT(0, self->client); in TEST_F()
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c640 ASSERT_LT(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeof(attr)), 0); in TEST_F()
689 ASSERT_LT(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeof(attr)), 0); in TEST_F()
973 ASSERT_LT(ret, 0); in TEST_F()
993 ASSERT_LT(ret, 0); in TEST_F()
1483 ASSERT_LT(fd, 0); in TEST_F()

12