Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/landlock/
H A Dbase_test.c140 ASSERT_LE(0, ruleset_fd); in TEST()
157 ASSERT_LE(0, ruleset_fd); in TEST()
184 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
204 ASSERT_LE(0, ruleset_fd); in TEST()
207 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
247 ASSERT_LE(0, ruleset_fd); in TEST()
276 ASSERT_LE(0, ruleset_fd_tx); in TEST()
279 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
293 ASSERT_LE(0, child); in TEST()
297 ASSERT_LE(0, ruleset_fd_rx); in TEST()
[all …]
H A Dfs_test.c443 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
446 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
454 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
464 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
471 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
485 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
562 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
566 ASSERT_LE(0, path_beneath_file.parent_fd); in TEST_F_FORK()
571 ASSERT_LE(0, path_beneath_dir.parent_fd); in TEST_F_FORK()
619 ASSERT_LE(0, path_beneath.parent_fd) in add_path_beneath()
[all …]
H A Dptrace_test.c266 ASSERT_LE(0, yama_ptrace_scope); in TEST_F()
323 ASSERT_LE(0, child); in TEST_F()
/openbmc/linux/tools/testing/memblock/tests/
H 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()
323 ASSERT_LE(region_end(new_rgn), region_end(req_node)); 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()
381 ASSERT_LE(region_end(new_rgn), region_end(req_node)); in alloc_exact_nid_bottom_up_numa_part_reserved_check()
[all …]
H 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()
1547 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_split_range_low_check()
1604 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_split_range_high_check()
[all …]
H A Dcommon.h75 #define ASSERT_LE(_expected, _seen) do { \ macro
/openbmc/gpioplus/test/
H A Dchip.cpp79 ASSERT_LE(expected_info.name.size(), sizeof(info.name)); in TEST_F()
81 ASSERT_LE(expected_info.label.size(), sizeof(info.label)); in TEST_F()
106 ASSERT_LE(expected_info.name.size(), sizeof(info.name)); in TEST_F()
108 ASSERT_LE(expected_info.consumer.size(), sizeof(info.consumer)); in TEST_F()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsignal_pending.c40 ASSERT_LE(topts.duration, 500000000 /* 500ms */, in test_signal_pending_by_type()
H A Dnetcnt.c63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt()
H A Dresolve_btfids.c163 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) in test_resolve_btfids()
H A Dxdp_bpf2bpf.c52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size()
H A Dbpf_nf.c118 ASSERT_LE(skel->bss->test_delta_timeout, 10, "Test for max ct timeout update"); in test_bpf_nf_ct()
H A Dxdp_bonding.c108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
H A Duser_ringbuf.c656 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
/openbmc/linux/tools/testing/selftests/net/
H 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()
H A Dso_incoming_cpu.c87 ASSERT_LE(2, nr_server); in FIXTURE_SETUP()
/openbmc/linux/tools/testing/selftests/ptrace/
H A Dget_syscall_info.c79 ASSERT_LE(0, pid) { in TEST()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h270 #define ASSERT_LE(actual, expected, name) ({ \ macro
/openbmc/linux/tools/testing/selftests/rtc/
H A Drtctest.c111 ASSERT_LE(prev_rtc_read, rtc_read);
/openbmc/linux/tools/testing/selftests/seccomp/
H 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()
3046 ASSERT_LE(0, child_pid); in TEST()
3487 ASSERT_LE(0, ret); in TEST()
/openbmc/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c523 ASSERT_LE(progs_count, ARRAY_SIZE(self->hid_links)) in load_programs()
/openbmc/linux/tools/testing/selftests/
H A Dkselftest_harness.h488 #define ASSERT_LE(expected, seen) \ macro
/openbmc/linux/Documentation/dev-tools/
H A Dkselftest.rst423 :functions: ASSERT_EQ ASSERT_NE ASSERT_LT ASSERT_LE ASSERT_GT ASSERT_GE
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp2533 ASSERT_LE(entryIndex, table.size()); in TEST()