Home
last modified time | relevance | path

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

/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.c358 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
361 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
369 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
379 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
386 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
400 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
468 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
472 ASSERT_LE(0, path_beneath_file.parent_fd); in TEST_F_FORK()
477 ASSERT_LE(0, path_beneath_dir.parent_fd); in TEST_F_FORK()
525 ASSERT_LE(0, path_beneath.parent_fd) in add_path_beneath()
[all …]
Dptrace_test.c266 ASSERT_LE(0, yama_ptrace_scope); in TEST_F()
323 ASSERT_LE(0, child); in TEST_F()
/tools/testing/selftests/bpf/prog_tests/
Dnetcnt.c63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in test_netcnt()
Dresolve_btfids.c163 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) in test_resolve_btfids()
Dxdp_bonding.c107 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
/tools/testing/selftests/ptrace/
Dget_syscall_info.c79 ASSERT_LE(0, pid) { in TEST()
/tools/testing/selftests/bpf/
Dtest_progs.h180 #define ASSERT_LE(actual, expected, name) ({ \ macro
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c390 ASSERT_LE(0, ret) { in TEST()
857 ASSERT_LE(0, child_pid); in TEST()
876 ASSERT_LE(0, child_pid); in TEST()
895 ASSERT_LE(0, child_pid); in TEST()
1575 ASSERT_LE(0, tracer_pid); in setup_trace_fixture()
2978 ASSERT_LE(0, child_pid); in TEST()
3418 ASSERT_LE(0, ret); in TEST()
/tools/testing/selftests/
Dkselftest_harness.h479 #define ASSERT_LE(expected, seen) \ macro