Home
last modified time | relevance | path

Searched refs:ASSERT_GT (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dperf_link.c62 ASSERT_GT(info.id, 0, "link_id"); in serial_test_perf_link()
63 ASSERT_GT(info.prog_id, 0, "link_prog_id"); in serial_test_perf_link()
67 ASSERT_GT(skel->bss->run_cnt, 0, "run_cnt"); in serial_test_perf_link()
Dcustom_sec_handlers.c104 ASSERT_GT(abc1_id, 0, "abc1_id"); in test_custom_sec_handlers()
105 ASSERT_GT(abc2_id, 0, "abc2_id"); in test_custom_sec_handlers()
106 ASSERT_GT(custom_id, 0, "custom_id"); in test_custom_sec_handlers()
120 if (!ASSERT_GT(fallback_id, 0, "fallback_id") /* || !ASSERT_GT(kprobe_id, 0, "kprobe_id")*/) { in test_custom_sec_handlers()
Dlibbpf_str.c34 if (!ASSERT_GT(id, 0, "bpf_attach_type_id")) in test_libbpf_bpf_attach_type_str()
79 if (!ASSERT_GT(id, 0, "bpf_link_type_id")) in test_libbpf_bpf_link_type_str()
124 if (!ASSERT_GT(id, 0, "bpf_map_type_id")) in test_libbpf_bpf_map_type_str()
166 if (!ASSERT_GT(id, 0, "bpf_prog_type_id")) in test_libbpf_bpf_prog_type_str()
Dunpriv_bpf_disabled.c89 ASSERT_GT(perf_buffer__poll(perfbuf, 100), -1, "perf_buffer__poll"); in test_unpriv_bpf_disabled_positive()
96 if (!ASSERT_GT(map_fds[i], -1, "obj_get")) in test_unpriv_bpf_disabled_positive()
130 ASSERT_GT(link_fd, 0, "link_create"); in test_unpriv_bpf_disabled_positive()
204 ASSERT_GT(btf__add_int(btf, "int", 4, 0), 0, "unpriv_int_type")) { in test_unpriv_bpf_disabled_negative()
275 ASSERT_GT(prog_id, 0, "valid_prog_id"); in test_unpriv_bpf_disabled()
Dtrace_vprintk.c41 if (!ASSERT_GT(bss->trace_vprintk_ran, 0, "bss->trace_vprintk_ran")) in serial_test_trace_vprintk()
44 if (!ASSERT_GT(bss->trace_vprintk_ret, 0, "bss->trace_vprintk_ret")) in serial_test_trace_vprintk()
Dsyscall.c39 ASSERT_GT(ctx.map_fd, 0, "ctx.map_fd"); in test_syscall()
40 ASSERT_GT(ctx.prog_fd, 0, "ctx.prog_fd"); in test_syscall()
Dtrace_printk.c48 if (!ASSERT_GT(bss->trace_printk_ran, 0, "bss->trace_printk_ran")) in serial_test_trace_printk()
51 if (!ASSERT_GT(bss->trace_printk_ret, 0, "bss->trace_printk_ret")) in serial_test_trace_printk()
Dlibbpf_probes.c20 if (!ASSERT_GT(id, 0, "bpf_prog_type_id")) in test_libbpf_probe_prog_types()
58 if (!ASSERT_GT(id, 0, "bpf_map_type_id")) in test_libbpf_probe_map_types()
Dmptcp.c51 if (!ASSERT_GT(len, 0, "failed to read ca_name")) in get_msk_ca_name()
67 if (!ASSERT_GT(token, 0, "invalid token")) in verify_msk()
Dbtf_dump.c425 ASSERT_GT(btf__add_float(btf, "test_float", 4), 0, "add float"); in test_btf_dump_float_data()
433 ASSERT_GT(btf__add_float(btf, "test_double", 8), 0, "add_double"); in test_btf_dump_float_data()
441 ASSERT_GT(btf__add_float(btf, "test_long_double", 16), 0, "add long double"); in test_btf_dump_float_data()
646 if (ASSERT_GT(type_id, 0, "find type id")) { in test_btf_dump_struct_data()
747 if (ASSERT_GT(type_id, 0, "find fs_context")) { in test_btf_dump_struct_data()
775 if (ASSERT_GT(type_id, 0, "find struct sk_buff")) { in test_btf_dump_struct_data()
824 if (!ASSERT_GT(type_id, 0, "find type id")) in test_btf_datasec()
Dcore_kern.c17 if (!ASSERT_GT(link_fd, 0, "attach(core_relo_proto)")) in test_core_kern_lskel()
Dverif_stats.c23 if (!ASSERT_GT(info.verified_insns, 0, "verified_insns")) in test_verif_stats()
Dbtf_module.c29 ASSERT_GT(type_id, 0, "func not found"); in test_btf_module()
Dexhandler.c34 if (!ASSERT_GT(cpid, -1, "fork failed")) in test_exhandler()
Dsnprintf_btf.c45 if (!ASSERT_GT(bss->ret, 0, "bpf_snprintf_ret")) in serial_test_snprintf_btf()
Dskc_to_unix_sock.c32 if (!ASSERT_GT(sockfd, 0, "socket failed")) in test_skc_to_unix_sock()
Dlog_buf.c212 ASSERT_GT(btf__add_int(btf, "int", 4, 0), 0, "int_type"); in bpf_btf_load_log_buf()
246 ASSERT_GT(btf__add_ptr(btf, 100), 0, "bad_ptr_type"); in bpf_btf_load_log_buf()
Dfexit_stress.c27 if (!ASSERT_GT(err, 0, "find_vmlinux_btf_id")) in serial_test_fexit_stress()
Dlegacy_printk.c48 if (!ASSERT_GT(res, 0, "res")) { in execute_one_variant()
Dxdp_bonding.c104 if (!ASSERT_GT(ifindex, 0, "get ifindex")) in xdp_attach()
232 if (!ASSERT_GT(ifindex, 0, "get bond1 ifindex")) in send_udp_packets()
357 if (!ASSERT_GT(ifindex, 0, "could not get interface index")) in test_xdp_bonding_redirect_multi()
Dtc_redirect.c155 if (!ASSERT_GT(ret, 0, "fread ifindex")) { in get_ifindex()
655 ASSERT_GT(dtimes[EGRESS_FWDNS_P100], 0, in test_tcp_clear_dtime()
659 ASSERT_GT(dtimes[EGRESS_ENDHOST], 0, in test_tcp_clear_dtime()
661 ASSERT_GT(dtimes[INGRESS_ENDHOST], 0, in test_tcp_clear_dtime()
694 ASSERT_GT(dtimes[i], 0, dtime_cnt_str(t, i)); in test_tcp_dtime()
726 ASSERT_GT(dtimes[i], 0, dtime_cnt_str(t, i)); in test_udp_dtime()
/linux-6.1.9/tools/testing/selftests/net/af_unix/
Ddiag_uid.c123 ASSERT_GT(len, sizeof(*udr)); in render_response()
156 ASSERT_GT(ret, 0); in receive_response()
173 ASSERT_GT(ret, 0);
/linux-6.1.9/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c432 ASSERT_GT(fd, 0); in FIXTURE_SETUP()
493 ASSERT_GT(old_flags, 0); in TEST_F()
554 ASSERT_GT(old_flags, 0); in TEST_F()
590 ASSERT_GT(old_flags, 0); in TEST_F()
685 ASSERT_GT(old_flags, 0); in TEST_F()
741 ASSERT_GT(old_flags1, 0); in TEST_F()
744 ASSERT_GT(old_flags2, 0); in TEST_F()
793 ASSERT_GT(old_flags, 0); in TEST_F()
920 ASSERT_GT(old_flags, 0); in TEST_F()
1456 ASSERT_GT(fd, 0); in TEST_F()
[all …]
/linux-6.1.9/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c359 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0); in TEST_F()
363 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0); in TEST_F()
/linux-6.1.9/tools/testing/selftests/pidfd/
Dpidfd_wait.c197 ASSERT_GT(flags, 0); in TEST()
198 ASSERT_GT((flags & O_NONBLOCK), 0); in TEST()

12