Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/landlock/
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()
206 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
246 ASSERT_LE(0, ruleset_fd); in TEST()
292 ASSERT_LE(0, ruleset_fd_tx); in TEST()
295 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
316 ASSERT_LE(0, child); in TEST()
338 ASSERT_LE(0, dir_fd); in TEST()
[all …]
Dfs_test.c323 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
326 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
334 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
344 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
351 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
365 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
441 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
445 ASSERT_LE(0, path_beneath_file.parent_fd); in TEST_F_FORK()
450 ASSERT_LE(0, path_beneath_dir.parent_fd); in TEST_F_FORK()
498 ASSERT_LE(0, path_beneath.parent_fd) in add_path_beneath()
[all …]
Dptrace_test.c255 ASSERT_LE(0, child); in TEST_F()
/linux-6.1.9/tools/testing/memblock/tests/
Dalloc_nid_api.c1245 ASSERT_LE(SZ_4, req_node->size); in alloc_try_nid_top_down_numa_simple_check()
1258 ASSERT_LE(req_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_simple_check()
1310 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_small_node_check()
1364 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_node_reserved_check()
1403 ASSERT_LE(SZ_8, req_node->size); in alloc_try_nid_top_down_numa_part_reserved_check()
1419 ASSERT_LE(req_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_part_reserved_check()
1463 ASSERT_LE(SZ_4, req_node->size); in alloc_try_nid_top_down_numa_part_reserved_fallback_check()
1480 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_part_reserved_fallback_check()
1536 ASSERT_LE(req_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_split_range_low_check()
1593 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_try_nid_top_down_numa_split_range_high_check()
[all …]
Dcommon.h69 #define ASSERT_LE(_expected, _seen) do { \ macro
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsignal_pending.c40 ASSERT_LE(topts.duration, 500000000 /* 500ms */, in test_signal_pending_by_type()
Dnetcnt.c63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt()
Dresolve_btfids.c163 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) in test_resolve_btfids()
Dxdp_bpf2bpf.c52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size()
Dbpf_nf.c118 ASSERT_LE(skel->bss->test_delta_timeout, 10, "Test for max ct timeout update"); in test_bpf_nf_ct()
Dxdp_bonding.c107 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
Duser_ringbuf.c657 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
/linux-6.1.9/tools/testing/selftests/ptrace/
Dget_syscall_info.c79 ASSERT_LE(0, pid) { in TEST()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_progs.h260 #define ASSERT_LE(actual, expected, name) ({ \ macro
/linux-6.1.9/tools/testing/selftests/rtc/
Drtctest.c104 ASSERT_LE(prev_rtc_read, rtc_read);
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c397 ASSERT_LE(0, ret) { in TEST()
864 ASSERT_LE(0, child_pid); in TEST()
883 ASSERT_LE(0, child_pid); in TEST()
902 ASSERT_LE(0, child_pid); in TEST()
1592 ASSERT_LE(0, tracer_pid); in setup_trace_fixture()
3029 ASSERT_LE(0, child_pid); in TEST()
3469 ASSERT_LE(0, ret); in TEST()
/linux-6.1.9/tools/testing/selftests/
Dkselftest_harness.h487 #define ASSERT_LE(expected, seen) \ macro
/linux-6.1.9/Documentation/dev-tools/
Dkselftest.rst388 :functions: ASSERT_EQ ASSERT_NE ASSERT_LT ASSERT_LE ASSERT_GT ASSERT_GE