Home
last modified time | relevance | path

Searched refs:ASSERT_LE (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/landlock/
A Dbase_test.c139 ASSERT_LE(0, ruleset_fd); in TEST()
156 ASSERT_LE(0, ruleset_fd); in TEST()
183 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
203 ASSERT_LE(0, ruleset_fd); in TEST()
246 ASSERT_LE(0, ruleset_fd); in TEST()
275 ASSERT_LE(0, ruleset_fd_tx); in TEST()
292 ASSERT_LE(0, child); in TEST()
296 ASSERT_LE(0, ruleset_fd_rx); in TEST()
308 ASSERT_LE(0, dir_fd); in TEST()
318 ASSERT_LE(0, dir_fd); in TEST()
[all …]
A Dfs_test.c589 ASSERT_LE(0, ruleset_fd) in create_ruleset()
726 ASSERT_LE(0, reg_fd); in TEST_F_FORK()
735 ASSERT_LE(0, reg_fd); in TEST_F_FORK()
1656 ASSERT_LE(0, dirfd); in test_relative_path()
1744 ASSERT_LE(0, dst_fd) in copy_binary()
1749 ASSERT_LE(0, src_fd) in copy_binary()
1768 ASSERT_LE(0, child); in test_execute()
3123 ASSERT_LE(0, reg_fd); in TEST_F_FORK()
3588 ASSERT_LE(0, child); in TEST_F_FORK()
3626 ASSERT_LE(0, fd); in TEST_F_FORK()
[all …]
A Dptrace_test.c266 ASSERT_LE(0, yama_ptrace_scope); in TEST_F()
323 ASSERT_LE(0, child); in TEST_F()
/linux-6.3-rc2/tools/testing/memblock/tests/
A Dalloc_exact_nid_api.c40 ASSERT_LE(SZ_4, req_node->size); in alloc_exact_nid_top_down_numa_simple_check()
54 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_simple_check()
93 ASSERT_LE(SZ_8, req_node->size); in alloc_exact_nid_top_down_numa_part_reserved_check()
110 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_part_reserved_check()
167 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_split_range_low_check()
224 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_no_overlap_split_check()
309 ASSERT_LE(SZ_4, req_node->size); in alloc_exact_nid_bottom_up_numa_simple_check()
363 ASSERT_LE(SZ_8, req_node->size); in alloc_exact_nid_bottom_up_numa_part_reserved_check()
438 ASSERT_LE(region_end(new_rgn), req_node_end); in alloc_exact_nid_bottom_up_numa_split_range_low_check()
674 ASSERT_LE(SZ_4, req_node->size); in alloc_exact_nid_numa_part_reserved_fail_generic_check()
[all …]
A Dalloc_nid_api.c1256 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_top_down_numa_simple_check()
1269 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_simple_check()
1321 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_small_node_check()
1375 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_node_reserved_check()
1414 ASSERT_LE(SZ_8, req_node->size); in alloc_nid_top_down_numa_part_reserved_check()
1430 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_part_reserved_check()
1474 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_top_down_numa_part_reserved_fallback_check()
1491 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_part_reserved_fallback_check()
1800 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_bottom_up_numa_simple_check()
1960 ASSERT_LE(SZ_8, req_node->size); in alloc_nid_bottom_up_numa_part_reserved_check()
[all …]
A Dcommon.h74 #define ASSERT_LE(_expected, _seen) do { \ macro
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dsignal_pending.c40 ASSERT_LE(topts.duration, 500000000 /* 500ms */, in test_signal_pending_by_type()
A Dnetcnt.c63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt()
A Dresolve_btfids.c163 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) in test_resolve_btfids()
A Dxdp_bpf2bpf.c52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size()
A Dbpf_nf.c118 ASSERT_LE(skel->bss->test_delta_timeout, 10, "Test for max ct timeout update"); in test_bpf_nf_ct()
A Dxdp_bonding.c107 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
A Duser_ringbuf.c655 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dip_local_port_range.c237 ASSERT_LE(port, 49999) TH_LOG("#%d: expected port within netns range", i); in TEST_F()
309 ASSERT_LE(port, 40007) TH_LOG("expected port within sockopt range"); in TEST_F()
395 ASSERT_LE(port, 40199); in TEST_F()
A Dso_incoming_cpu.c62 ASSERT_LE(2, self->nproc); in FIXTURE_SETUP()
/linux-6.3-rc2/tools/testing/selftests/ptrace/
A Dget_syscall_info.c79 ASSERT_LE(0, pid) { in TEST()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_progs.h269 #define ASSERT_LE(actual, expected, name) ({ \ macro
/linux-6.3-rc2/tools/testing/selftests/rtc/
A Drtctest.c111 ASSERT_LE(prev_rtc_read, rtc_read);
/linux-6.3-rc2/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c403 ASSERT_LE(0, ret) { in TEST()
870 ASSERT_LE(0, child_pid); in TEST()
889 ASSERT_LE(0, child_pid); in TEST()
908 ASSERT_LE(0, child_pid); in TEST()
1598 ASSERT_LE(0, tracer_pid); in setup_trace_fixture()
3043 ASSERT_LE(0, child_pid); in TEST()
3483 ASSERT_LE(0, ret); in TEST()
/linux-6.3-rc2/tools/testing/selftests/hid/
A Dhid_bpf.c523 ASSERT_LE(progs_count, ARRAY_SIZE(self->hid_links)) in load_programs()
/linux-6.3-rc2/tools/testing/selftests/
A Dkselftest_harness.h488 #define ASSERT_LE(expected, seen) \ macro
/linux-6.3-rc2/Documentation/dev-tools/
A Dkselftest.rst388 :functions: ASSERT_EQ ASSERT_NE ASSERT_LT ASSERT_LE ASSERT_GT ASSERT_GE

Completed in 48 milliseconds