Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/landlock/
Dscoped_abstract_unix_test.c96 ASSERT_LE(0, child); in TEST_F()
108 ASSERT_LE(0, stream_client); in TEST_F()
110 ASSERT_LE(0, dgram_client); in TEST_F()
143 ASSERT_LE(0, stream_server); in TEST_F()
145 ASSERT_LE(0, dgram_server); in TEST_F()
194 ASSERT_LE(0, child); in TEST_F()
208 ASSERT_LE(0, stream_server); in TEST_F()
210 ASSERT_LE(0, dgram_server); in TEST_F()
239 ASSERT_LE(0, stream_client); in TEST_F()
241 ASSERT_LE(0, dgram_client); in TEST_F()
[all …]
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 …]
Dnet_test.c422 ASSERT_LE(0, inval_fd) in test_bind_and_connect()
448 ASSERT_LE(0, inval_fd); in test_bind_and_connect()
477 ASSERT_LE(0, bind_fd); in test_bind_and_connect()
491 ASSERT_LE(0, child); in test_bind_and_connect()
500 ASSERT_LE(0, connect_fd); in test_bind_and_connect()
522 ASSERT_LE(0, client_fd); in test_bind_and_connect()
561 ASSERT_LE(0, ruleset_fd); in TEST_F()
611 ASSERT_LE(0, ruleset_fd); in TEST_F()
651 ASSERT_LE(0, ruleset_fd); in TEST_F()
662 ASSERT_LE(0, bind_fd); in TEST_F()
[all …]
Dfs_test.c471 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
474 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
482 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
492 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
499 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
513 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
591 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
595 ASSERT_LE(0, path_beneath_file.parent_fd); in TEST_F_FORK()
600 ASSERT_LE(0, path_beneath_dir.parent_fd); in TEST_F_FORK()
649 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
[all …]
Dscoped_signal_test.c92 ASSERT_LE(0, sigaction(variant->sig, &action, NULL)); in TEST_F()
98 ASSERT_LE(0, child); in TEST_F()
192 ASSERT_LE(0, child); in TEST_F()
397 ASSERT_LE(0, child); in TEST_F()
407 ASSERT_LE(0, client_socket); in TEST_F()
446 ASSERT_LE(0, server_socket); in TEST_F()
453 ASSERT_LE(0, recv_socket); in TEST_F()
Dscoped_common.h22 ASSERT_LE(0, ruleset_fd) in create_scoped_domain()
Dptrace_test.c266 ASSERT_LE(0, yama_ptrace_scope); in TEST_F()
323 ASSERT_LE(0, child); in TEST_F()
/linux-6.12.1/tools/testing/memblock/tests/
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 …]
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 …]
Dcommon.h79 #define ASSERT_LE(_expected, _seen) do { \ macro
/linux-6.12.1/tools/testing/selftests/lsm/
Dlsm_set_self_attr_test.c32 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size, in TEST()
48 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size, in TEST()
65 ASSERT_LE(1, lsm_get_self_attr(LSM_ATTR_CURRENT, tctx, &size, in TEST()
Dlsm_get_self_attr_test.c93 ASSERT_LE(1, lsmcount); in TEST()
162 ASSERT_LE(1, lsmcount); in TEST()
Dlsm_list_modules_test.c88 ASSERT_LE(1, count); in TEST()
/linux-6.12.1/tools/testing/selftests/net/af_unix/
Dscm_rights.c134 ASSERT_LE(0, self->fd[i]); in create_listeners()
148 ASSERT_LE(0, self->fd[i + 1]); in create_listeners()
175 ASSERT_LE(n * 2, sizeof(self->fd) / sizeof(self->fd[0])); in __create_sockets()
/linux-6.12.1/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.c119 ASSERT_LE(skel->bss->test_delta_timeout, 10, "Test for max ct timeout update"); in test_bpf_nf_ct()
Dbpf_obj_id.c129 !ASSERT_LE(load_time, (now + 60), "load_time") || in serial_test_bpf_obj_id()
/linux-6.12.1/tools/testing/selftests/net/
Dip_local_port_range.c253 ASSERT_LE(port, 49999) TH_LOG("#%d: expected port within netns range", i); in TEST_F()
325 ASSERT_LE(port, 40007) TH_LOG("expected port within sockopt range"); in TEST_F()
408 ASSERT_LE(port, 40199); in TEST_F()
Dso_incoming_cpu.c87 ASSERT_LE(2, nr_server); in FIXTURE_SETUP()
/linux-6.12.1/tools/testing/selftests/ptrace/
Dget_syscall_info.c79 ASSERT_LE(0, pid) { in TEST()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_progs.h274 #define ASSERT_LE(actual, expected, name) ({ \ macro
/linux-6.12.1/tools/testing/selftests/rtc/
Drtctest.c111 ASSERT_LE(prev_rtc_read, rtc_read);

12