Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
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()
Dperf_link.c61 ASSERT_GT(info.id, 0, "link_id"); in test_perf_link()
62 ASSERT_GT(info.prog_id, 0, "link_prog_id"); in test_perf_link()
66 ASSERT_GT(skel->bss->run_cnt, 0, "run_cnt"); in test_perf_link()
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()
Dbtf_dump.c387 ASSERT_GT(btf__add_float(btf, "test_float", 4), 0, "add float"); in test_btf_dump_float_data()
395 ASSERT_GT(btf__add_float(btf, "test_double", 8), 0, "add_double"); in test_btf_dump_float_data()
403 ASSERT_GT(btf__add_float(btf, "test_long_double", 16), 0, "add long double"); in test_btf_dump_float_data()
608 if (ASSERT_GT(type_id, 0, "find type id")) { in test_btf_dump_struct_data()
709 if (ASSERT_GT(type_id, 0, "find fs_context")) { in test_btf_dump_struct_data()
737 if (ASSERT_GT(type_id, 0, "find struct sk_buff")) { in test_btf_dump_struct_data()
784 if (!ASSERT_GT(type_id, 0, "find type id")) in test_btf_datasec()
Dbtf_module.c29 ASSERT_GT(type_id, 0, "func not found"); in test_btf_module()
Dsnprintf_btf.c45 if (!ASSERT_GT(bss->ret, 0, "bpf_snprintf_ret")) in test_snprintf_btf()
Dtask_pt_regs.c15 if (!ASSERT_GT(base_addr, 0, "get_base_addr")) in test_task_pt_regs()
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()
Dtimer_mim.c32 ASSERT_GT(cnt2, cnt1, "cnt"); in timer_mim()
Dattach_probe.c61 ASSERT_GT(uprobe_ref_ctr, 0, "uprobe_ref_ctr_after"); in test_attach_probe()
Dbtf_endian.c72 ASSERT_GT(var_id, 0, "var_id"); in test_btf_endian()
Dsend_signal.c124 if (!ASSERT_GT(err, 0, "reading pipe error: size 0")) { in test_send_signal_common()
Dtc_redirect.c217 if (!ASSERT_GT(ret, 0, "fread ifindex")) { in get_ifindex()
/Linux-v5.15/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-v5.15/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-v5.15/tools/testing/selftests/pidfd/
Dpidfd_wait.c189 ASSERT_GT(flags, 0); in TEST()
190 ASSERT_GT((flags & O_NONBLOCK), 0); in TEST()
/Linux-v5.15/tools/testing/selftests/nci/
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-v5.15/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c158 ASSERT_GT(waitpid(pid, &status, 0), 0) in TEST()
/Linux-v5.15/tools/testing/selftests/exec/
Dnon-regular.c149 ASSERT_GT(asprintf(&self->pathname, "%s.test", variant->name), 6); in FIXTURE_SETUP()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_progs.h191 #define ASSERT_GT(actual, expected, name) ({ \ macro
/Linux-v5.15/tools/testing/selftests/
Dkselftest_harness.h490 #define ASSERT_GT(expected, seen) \ macro
/Linux-v5.15/Documentation/dev-tools/
Dkselftest.rst346 :functions: ASSERT_EQ ASSERT_NE ASSERT_LT ASSERT_LE ASSERT_GT ASSERT_GE
/Linux-v5.15/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2109 ASSERT_GT(self->mytid, 0); in FIXTURE_SETUP()
2115 ASSERT_GT(self->mypid, 0); in FIXTURE_SETUP()
2119 ASSERT_GT(self->parent, 0); in FIXTURE_SETUP()
/Linux-v5.15/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c3141 ASSERT_GT(ret, 0); in TEST()