/linux-6.6.21/tools/testing/selftests/net/ |
D | ip_local_port_range.c | 196 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() 229 ASSERT_TRUE(!err) TH_LOG("#%d: setsockopt(IP_LOCAL_PORT_RANGE) failed", i); in TEST_F() 232 ASSERT_TRUE(!err) TH_LOG("#%d: bind failed", i); in TEST_F() 243 ASSERT_TRUE(close(fds[i]) == 0) TH_LOG("#%d: close failed", i); in TEST_F() 275 ASSERT_TRUE(!err) TH_LOG("setsockopt(IP_LOCAL_PORT_RANGE) failed"); in TEST_F() 278 ASSERT_TRUE(!err) TH_LOG("bind failed"); in TEST_F() 284 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() 302 ASSERT_TRUE(!err) TH_LOG("setsockopt(IP_LOCAL_PORT_RANGE) failed"); in TEST_F() 305 ASSERT_TRUE(!err) TH_LOG("bind failed"); in TEST_F() 324 ASSERT_TRUE(!err) TH_LOG("setsockopt(IP_LOCAL_PORT_RANGE) failed"); in TEST_F() [all …]
|
/linux-6.6.21/tools/testing/selftests/ptrace/ |
D | get_syscall_info.c | 141 ASSERT_TRUE(WIFSTOPPED(status)) { in TEST() 166 ASSERT_TRUE(info.arch) { in TEST() 169 ASSERT_TRUE(info.instruction_pointer) { in TEST() 172 ASSERT_TRUE(info.stack_pointer) { in TEST() 194 ASSERT_TRUE(info.arch) { in TEST() 197 ASSERT_TRUE(info.instruction_pointer) { in TEST() 200 ASSERT_TRUE(info.stack_pointer) { in TEST() 234 ASSERT_TRUE(info.arch) { in TEST() 237 ASSERT_TRUE(info.instruction_pointer) { in TEST() 240 ASSERT_TRUE(info.stack_pointer) { in TEST()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | time_tai.c | 66 ASSERT_TRUE(now > ts1, "tai_future_ts1"); in test_time_tai() 67 ASSERT_TRUE(now > ts2, "tai_future_ts2"); in test_time_tai() 70 ASSERT_TRUE(now - ts1 < TAI_THRESHOLD, "tai_range_ts1"); in test_time_tai() 71 ASSERT_TRUE(now - ts2 < TAI_THRESHOLD, "tai_range_ts2"); in test_time_tai()
|
D | core_kern.c | 22 ASSERT_TRUE(skel->bss->proto_out[0], "bpf_core_type_exists"); in test_core_kern_lskel() 24 ASSERT_TRUE(skel->bss->proto_out[2], "bpf_core_type_exists. nested"); in test_core_kern_lskel()
|
D | autoattach.c | 17 ASSERT_TRUE(bpf_program__autoattach(skel->progs.prog1), "autoattach_prog1"); in test_autoattach() 24 ASSERT_TRUE(skel->bss->prog1_called, "attached_prog1"); in test_autoattach()
|
D | custom_sec_handlers.c | 163 ASSERT_TRUE(skel->bss->abc2_called, "abc2_called"); in test_custom_sec_handlers() 164 ASSERT_TRUE(skel->bss->custom1_called, "custom1_called"); in test_custom_sec_handlers() 165 ASSERT_TRUE(skel->bss->custom2_called, "custom2_called"); in test_custom_sec_handlers()
|
D | decap_sanity.c | 66 ASSERT_TRUE(skel->bss->init_csum_partial, "init_csum_partial"); in test_decap_sanity() 67 ASSERT_TRUE(skel->bss->final_csum_none, "final_csum_none"); in test_decap_sanity()
|
D | task_pt_regs.c | 46 ASSERT_TRUE(match, "check_regs_match"); in test_task_pt_regs()
|
D | subskeleton.c | 43 ASSERT_TRUE(*lib->kconfig.CONFIG_BPF_SYSCALL, "CONFIG_BPF_SYSCALL"); in subskeleton_lib_subresult()
|
D | spin_lock.c | 104 if (!ASSERT_TRUE(ret, "no match for expected error message")) { in test_spin_lock_fail_prog()
|
D | htab_update.c | 28 if (!ASSERT_TRUE(!err || err == -ESRCH, "htab_update__load") || err) in test_reenter_update()
|
D | log_fixup.c | 123 ASSERT_TRUE(bpf_map__autocreate(skel->maps.existing_map), "existing_map_autocreate"); in missing_map()
|
D | kfree_skb.c | 115 ASSERT_TRUE(passed, "passed"); in serial_test_kfree_skb()
|
D | xdp_bpf2bpf.c | 93 ASSERT_TRUE(test_ctx.passed, "test passed"); in run_xdp_bpf2bpf_pkt_size()
|
D | global_data.c | 112 if (!ASSERT_TRUE(bpf_map__is_internal(map), "is_internal")) in test_global_data_rdonly()
|
D | cgroup_hierarchical_stats.c | 182 if (!ASSERT_TRUE(WIFEXITED(status), "child process exited")) in attach_processes()
|
D | mptcp.c | 260 if (!ASSERT_TRUE(info.mptcpi_flags & MPTCP_INFO_FLAG_REMOTE_KEY_RECEIVED, in verify_mptcpify()
|
D | bpf_tcp_ca.c | 330 ASSERT_TRUE(found, "expected_err_msg"); in test_rel_setsockopt()
|
D | ctx_rewrite.c | 791 ASSERT_TRUE(match_pattern(btf, pattern, text, reg_map), in match_program()
|
/linux-6.6.21/tools/testing/selftests/sgx/ |
D | main.c | 287 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 360 ASSERT_TRUE(setup_test_encl(total_mem, &self->encl, _metadata)); in TEST_F() 404 ASSERT_TRUE(setup_test_encl(total_mem, &self->encl, _metadata)); 509 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 545 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 578 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 623 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 725 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 788 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() 989 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F() [all …]
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | mdwe_test.c | 95 ASSERT_TRUE(WIFEXITED(status)); in FIXTURE_SETUP()
|
/linux-6.6.21/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 210 ASSERT_TRUE(0) TH_LOG("SIGSEGV/SIGILL signal did not occur"); in TEST()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_progs.h | 223 #define ASSERT_TRUE(actual, name) ({ \ macro
|
/linux-6.6.21/Documentation/dev-tools/ |
D | kselftest.rst | 412 ASSERT_NULL ASSERT_TRUE ASSERT_NULL ASSERT_TRUE ASSERT_FALSE
|
/linux-6.6.21/tools/testing/selftests/ |
D | kselftest_harness.h | 530 #define ASSERT_TRUE(seen) \ macro
|