Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 117) sorted by relevance

12345

/tools/testing/selftests/openat2/
A Dresolve_test.c114 bool pass; member
140 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
171 .out.path = "etc", .pass = true }, in test_openat2_opath_tests()
214 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
217 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
220 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
223 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
331 .out.path = "/", .pass = true }, in test_openat2_opath_tests()
334 .out.path = "/", .pass = true }, in test_openat2_opath_tests()
467 if (test->pass) in test_openat2_opath_tests()
[all …]
/tools/testing/selftests/kselftest_harness/
A Dharness-selftest.expected27 # RUN fixture.pass ...
28 # harness-selftest.c:53:pass:setup
29 # harness-selftest.c:62:pass:before
30 # harness-selftest.c:19:pass:before
31 # harness-selftest.c:23:pass:after
32 # harness-selftest.c:66:pass:after
34 # OK fixture.pass
35 ok 5 fixture.pass
51 # harness-selftest.c:87:pass:setup
53 # harness-selftest.c:98:pass:after
[all …]
A Dharness-selftest.c61 TEST_F(fixture, pass) { in TEST_F() argument
95 TEST_F(fixture_parent, pass) { in TEST_F() argument
115 TEST_F(fixture_setup_failure, pass) { in TEST_F() argument
/tools/perf/tests/
A Dtime-utils-test.c79 bool pass = false; in test__perf_time__parse_for_ranges() local
128 pass = true; in test__perf_time__parse_for_ranges()
131 return pass; in test__perf_time__parse_for_ranges()
136 bool pass = true; in test__time_utils() local
138 pass &= test__parse_nsec_time("0", 0); in test__time_utils()
140 pass &= test__parse_nsec_time("0.000000001", 1); in test__time_utils()
168 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils()
185 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils()
200 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils()
215 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils()
[all …]
A Dbuiltin-test.c496 struct child_test **child, int width, int pass) in start_test() argument
502 if (pass == 1) { in start_test()
511 if (pass == 1 && !sequential && test_exclusive(test, curr_test_case)) { in start_test()
515 if (pass != 1 && (sequential || !test_exclusive(test, curr_test_case))) { in start_test()
537 if (sequential || pass == 2) { in start_test()
606 for (int pass = 1; pass <= 2; pass++) { in __cmd_test() local
649 width, pass); in __cmd_test()
756 for (int pass = 1; pass <= 2; pass++) { in build_suites() local
767 if ((!exclusive && pass == 1) || (exclusive && pass == 2)) in build_suites()
/tools/testing/selftests/bpf/progs/
A Dtest_migrate_reuseport.c53 goto pass; in drop_ack()
60 goto pass; in drop_ack()
63 goto pass; in drop_ack()
72 goto pass; in drop_ack()
75 goto pass; in drop_ack()
81 goto pass; in drop_ack()
85 goto pass; in drop_ack()
88 goto pass; in drop_ack()
93 pass: in drop_ack()
/tools/testing/selftests/arm64/gcs/
A Dbasic-gcs.c205 pass = false; in map_guarded_stack()
216 pass = false; in map_guarded_stack()
226 pass = false; in map_guarded_stack()
233 pass = false; in map_guarded_stack()
236 return pass; in map_guarded_stack()
250 pass = false; in test_fork()
287 pass = false; in test_fork()
298 return pass; in test_fork()
312 pass = false; in test_vfork()
351 pass = false; in test_vfork()
[all …]
/tools/testing/selftests/arm64/fp/
A Dfp-ptrace.c424 pass = false; in check_ptrace_values_sve()
433 pass = false; in check_ptrace_values_sve()
439 pass = false; in check_ptrace_values_sve()
480 return pass; in check_ptrace_values_sve()
563 return pass; in check_ptrace_values_ssve()
624 return pass; in check_ptrace_values_za()
705 return pass; in check_ptrace_values()
713 bool pass; in run_parent() local
857 return pass; in run_parent()
1025 return pass; in check_memory_values()
[all …]
/tools/testing/selftests/x86/
A Dsyscall_numbering.c252 enum ptrace_pass pass = sh->ptrace_pass; in test_syscalls_common() local
264 if (pass >= PTP_FUZZRET) in test_syscalls_common()
338 enum ptrace_pass pass; in syscall_numbering_tracee() local
346 for (sh->ptrace_pass = pass = PTP_NOTHING; pass < PTP_DONE; in syscall_numbering_tracee()
347 sh->ptrace_pass = ++pass) { in syscall_numbering_tracee()
348 run("Running tests under ptrace: %s\n", ptrace_pass_name[pass]); in syscall_numbering_tracee()
353 static void mess_with_syscall(pid_t testpid, enum ptrace_pass pass) in mess_with_syscall() argument
360 if (pass == PTP_NOTHING || pass == PTP_DONE) in mess_with_syscall()
371 switch (pass) { in mess_with_syscall()
/tools/testing/selftests/drivers/net/mlxsw/
A Dport_range_occ.sh75 action pass
81 action pass
84 action pass
87 action pass
A Dsharedbuffer.sh121 action pass
143 action pass
154 action pass
176 action pass
185 src_mac $h1mac action pass
204 src_mac $h1mac action pass
A Done_armed_router.sh137 action pass
141 action pass
145 action pass
180 action pass
184 action pass
188 action pass
/tools/testing/selftests/timers/
A Dvalid-adjtimex.c114 int ret, pass = 0; in validate_freq() local
133 pass = -1; in validate_freq()
152 pass = -1; in validate_freq()
161 pass = -1; in validate_freq()
176 pass = -1; in validate_freq()
189 return pass; in validate_freq()
/tools/testing/selftests/
A Dkselftest_deps.sh68 pass=$(mktemp).out
69 trap "rm -f $pass" EXIT
274 echo "PASS: $test dependency check passed $lib" >> $pass
303 cat $pass
/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_redir.c163 unsigned int drop, pass; in handle_unsupported() local
169 xbpf_map_lookup_elem(map_verd, &u32(SK_PASS), &pass)) in handle_unsupported()
172 if (pass == 0 && drop == 0 && (status & UNSUPPORTED_RACY_VERD)) { in handle_unsupported()
177 if (pass != 0) { in handle_unsupported()
178 FAIL("unsupported: wanted verdict pass 0, have %u", pass); in handle_unsupported()
204 unsigned int drop, pass; in test_send_redir_recv() local
248 xbpf_map_lookup_elem(maps->verd, &u32(SK_PASS), &pass)) in test_send_redir_recv()
251 if (drop != 0 || pass != 1) in test_send_redir_recv()
253 drop, pass); in test_send_redir_recv()
A Dsockmap_basic.c543 struct test_sockmap_pass_prog *pass = NULL; in test_sockmap_skb_verdict_fionread() local
595 test_sockmap_pass_prog__destroy(pass); in test_sockmap_skb_verdict_fionread()
682 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_peek() local
686 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_peek()
689 map = bpf_map__fd(pass->maps.sock_map_rx); in test_sockmap_skb_verdict_peek()
698 test_sockmap_pass_prog__destroy(pass); in test_sockmap_skb_verdict_peek()
703 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_peek_with_link() local
709 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_peek_with_link()
711 prog = pass->progs.prog_skb_verdict; in test_sockmap_skb_verdict_peek_with_link()
712 map = bpf_map__fd(pass->maps.sock_map_rx); in test_sockmap_skb_verdict_peek_with_link()
[all …]
/tools/testing/selftests/arm64/signal/testcases/
A Dtpidr2_restore.c68 td->pass = tpidr2 == initial_tpidr2; in check_tpidr2()
70 if (td->pass) in check_tpidr2()
A Dfpmr_siginfo.c64 td->pass = (in_sigframe == have_fpmr); in fpmr_present()
70 td->pass = false; in fpmr_present()
A Dpoe_siginfo.c64 td->pass = (in_sigframe == have_poe); in poe_present()
74 td->pass = false; in poe_present()
A Dtpidr2_siginfo.c64 td->pass = (in_sigframe == have_sme); in tpidr2_present()
78 td->pass = false; in tpidr2_present()
/tools/testing/selftests/net/forwarding/
A Dtc_flower_l2_miss.sh82 dst_ip $dip action pass
86 dst_ip $dip action pass
139 action pass
143 action pass
256 dst_ip $dip action pass
307 action pass
310 action pass
A Dlib_sh_test.sh40 pass() function
95 local status_names=(pass fail xfail xpass skip)
150 local status_names=(pass fail xfail xpass skip)
/tools/testing/selftests/proc/
A Dproc-self-map-files-001.c26 static void pass(const char *fmt, unsigned long a, unsigned long b) in pass() function
65 pass("/proc/self/map_files/%lx-%lx", a, b); in main()
/tools/testing/selftests/mm/
A Dmemfd_secret.c28 #define pass(fmt, ...) ksft_test_result_pass(fmt, ##__VA_ARGS__) macro
57 pass("file IO is blocked as expected\n"); in test_file_apis()
84 pass("mlock limit is respected\n"); in test_mlock_limit()
116 pass("vmsplice is blocked as expected with %s\n", desc); in test_vmsplice()
194 pass("%s is blocked as expected\n", name); in check_child_status()
/tools/testing/selftests/wireguard/qemu/
A Dinit.c131 char line[2048], *start, *pass; in kmod_selftests() local
147 pass = strstr(start, ": pass"); in kmod_selftests()
148 if (!pass || pass[6] != '\0') { in kmod_selftests()

Completed in 44 milliseconds

12345