Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/prog_tests/
A Datomics.c14 if (!ASSERT_GT(link_fd, 0, "attach(add)")) in test_add()
46 if (!ASSERT_GT(link_fd, 0, "attach(sub)")) in test_sub()
79 if (!ASSERT_GT(link_fd, 0, "attach(and)")) in test_and()
107 if (!ASSERT_GT(link_fd, 0, "attach(or)")) in test_or()
136 if (!ASSERT_GT(link_fd, 0, "attach(xor)")) in test_xor()
164 if (!ASSERT_GT(link_fd, 0, "attach(cmpxchg)")) in test_cmpxchg()
193 if (!ASSERT_GT(link_fd, 0, "attach(xchg)")) in test_xchg()
A 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()
A 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()
A 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()
A 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()
A Dbtf_dump.c402 ASSERT_GT(btf__add_float(btf, "test_float", 4), 0, "add float"); in test_btf_dump_float_data()
410 ASSERT_GT(btf__add_float(btf, "test_double", 8), 0, "add_double"); in test_btf_dump_float_data()
418 ASSERT_GT(btf__add_float(btf, "test_long_double", 16), 0, "add long double"); in test_btf_dump_float_data()
623 if (ASSERT_GT(type_id, 0, "find type id")) { in test_btf_dump_struct_data()
724 if (ASSERT_GT(type_id, 0, "find fs_context")) { in test_btf_dump_struct_data()
752 if (ASSERT_GT(type_id, 0, "find struct sk_buff")) { in test_btf_dump_struct_data()
801 if (!ASSERT_GT(type_id, 0, "find type id")) in test_btf_datasec()
A Dverif_stats.c23 if (!ASSERT_GT(info.verified_insns, 0, "verified_insns")) in test_verif_stats()
A Dbtf_module.c29 ASSERT_GT(type_id, 0, "func not found"); in test_btf_module()
A 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()
353 if (!ASSERT_GT(ifindex, 0, "could not get interface index")) in test_xdp_bonding_redirect_multi()
A Dsnprintf_btf.c45 if (!ASSERT_GT(bss->ret, 0, "bpf_snprintf_ret")) in serial_test_snprintf_btf()
A Dtask_pt_regs.c15 if (!ASSERT_GT(base_addr, 0, "get_base_addr")) in test_task_pt_regs()
A Dskc_to_unix_sock.c32 if (!ASSERT_GT(sockfd, 0, "socket failed")) in test_skc_to_unix_sock()
A Dtimer_mim.c32 ASSERT_GT(cnt2, cnt1, "cnt"); in timer_mim()
A Dget_branch_snapshot.c117 ASSERT_GT(skel->bss->test1_hits, 6, "find_looptest_in_lbr"); in serial_test_get_branch_snapshot()
A Dattach_probe.c82 ASSERT_GT(uprobe_ref_ctr, 0, "uprobe_ref_ctr_after"); in test_attach_probe()
A Dmodule_attach.c23 if (!ASSERT_GT(rd, 0, "testmod_file_rd_val")) { in trigger_module_test_writable()
A Dbtf_endian.c72 ASSERT_GT(var_id, 0, "var_id"); in test_btf_endian()
A Dsend_signal.c124 if (!ASSERT_GT(err, 0, "reading pipe error: size 0")) { in test_send_signal_common()
A Dtest_bpffs.c84 if (!ASSERT_GT(map, 0, "create_map(ARRAY)")) in fn()
/linux/tools/testing/selftests/mount_setattr/
A 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/tools/testing/selftests/move_mount_set_group/
A 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/tools/testing/selftests/nci/
A Dnci_dev.c422 ASSERT_GT(self->virtual_nci_fd, -1); in FIXTURE_SETUP()
441 ASSERT_GT(rc, -1); in FIXTURE_SETUP()
512 ASSERT_GT(rc, -1); in FIXTURE_TEARDOWN()
850 ASSERT_GT(nfc_sock, -1); in TEST_F()
877 ASSERT_GT(rc, -1); in TEST_F()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_wait.c189 ASSERT_GT(flags, 0); in TEST()
190 ASSERT_GT((flags & O_NONBLOCK), 0); in TEST()
/linux/tools/testing/selftests/clone3/
A Dclone3_cap_checkpoint_restore.c158 ASSERT_GT(waitpid(pid, &status, 0), 0) in TEST()
/linux/tools/testing/selftests/exec/
A Dnon-regular.c149 ASSERT_GT(asprintf(&self->pathname, "%s.test", variant->name), 6); in FIXTURE_SETUP()

Completed in 20 milliseconds

12