| /tools/testing/selftests/bpf/prog_tests/ |
| A D | struct_ops_autocreate.c | 73 ASSERT_FALSE(bpf_program__autoload(skel->progs.test_2), "test_2 actual autoload"); in can_load_partial_object() 92 ASSERT_FALSE(bpf_map__autocreate(skel->maps.optional_map), "optional_map autocreate"); in optional_maps() 93 ASSERT_FALSE(bpf_map__autocreate(skel->maps.optional_map2), "optional_map2 autocreate"); in optional_maps() 124 ASSERT_FALSE(bpf_program__autoload(skel->progs.foo), "foo default autoload"); in autoload_and_shadow_vars() 125 ASSERT_FALSE(bpf_program__autoload(skel->progs.bar), "bar default autoload"); in autoload_and_shadow_vars() 135 ASSERT_FALSE(bpf_program__autoload(skel->progs.bar), "bar actual autoload"); in autoload_and_shadow_vars()
|
| A D | custom_sec_handlers.c | 27 ASSERT_FALSE(true, "unexpected preload for abc"); in custom_prepare_load_prog() 48 ASSERT_FALSE(true, "unexpected cookie"); in custom_attach_prog() 134 ASSERT_FALSE(bpf_program__autoload(skel->progs.abc1), "abc1_autoload"); in test_custom_sec_handlers() 162 ASSERT_FALSE(skel->bss->abc1_called, "abc1_called"); in test_custom_sec_handlers() 167 ASSERT_FALSE(skel->bss->kprobe1_called, "kprobe1_called"); in test_custom_sec_handlers() 169 ASSERT_FALSE(skel->bss->xyz_called, "xyz_called"); in test_custom_sec_handlers()
|
| A D | autoattach.c | 18 ASSERT_FALSE(bpf_program__autoattach(skel->progs.prog2), "autoattach_prog2"); in test_autoattach() 25 ASSERT_FALSE(skel->bss->prog2_called, "attached_prog2"); in test_autoattach()
|
| A D | cgroup_getset_retval.c | 46 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_set() 86 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_set_and_get() 123 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_default_zero() 166 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_default_zero_and_set() 215 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_override() 261 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_legacy_eperm() 312 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_legacy_no_override() 354 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_getsockopt_get() 396 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_getsockopt_override() 442 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_getsockopt_retval_sync()
|
| A D | test_mmap_inner_array.c | 35 ASSERT_FALSE(skel->bss->outer_map_match, "outer map match 1"); in test_mmap_inner_array() 36 ASSERT_FALSE(skel->bss->done, "done 1"); in test_mmap_inner_array()
|
| A D | prepare.c | 34 if (!ASSERT_FALSE(check_prepared(skel->obj), "not check_prepared")) in test_prepare_no_load() 62 if (!ASSERT_FALSE(check_prepared(skel->obj), "not check_prepared")) in test_prepare_load()
|
| A D | core_kern.c | 23 ASSERT_FALSE(skel->bss->proto_out[1], "!bpf_core_type_exists"); in test_core_kern_lskel()
|
| A D | tailcalls.c | 344 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_count() 349 if (!ASSERT_FALSE(data_fd < 0, in test_tailcall_count() 361 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_count() 366 if (!ASSERT_FALSE(data_fd < 0, in test_tailcall_count() 1039 if (!ASSERT_FALSE(map_fd < 0, "find jmp_table map fd")) in test_tailcall_bpf2bpf_fentry_entry() 1047 if (!ASSERT_FALSE(prog_fd < 0, "find classifier_0 prog fd")) in test_tailcall_bpf2bpf_fentry_entry() 1081 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_bpf2bpf_fentry_entry() 1086 if (!ASSERT_FALSE(data_fd < 0, "find tailcall.bss map fd")) in test_tailcall_bpf2bpf_fentry_entry() 1095 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_bpf2bpf_fentry_entry() 1100 if (!ASSERT_FALSE(data_fd < 0, in test_tailcall_bpf2bpf_fentry_entry() [all …]
|
| A D | decap_sanity.c | 67 ASSERT_FALSE(skel->bss->broken_csum_start, "broken_csum_start"); in test_decap_sanity()
|
| A D | log_buf.c | 79 ASSERT_FALSE(libbpf_log_error, "libbpf_log_error"); in obj_load_log_buf() 122 ASSERT_FALSE(libbpf_log_error, "libbpf_log_error"); in obj_load_log_buf()
|
| A D | preempted_bpf_ma_op.c | 86 ASSERT_FALSE(skel->bss->nomem_err, "ENOMEM"); in test_preempted_bpf_ma_op()
|
| A D | arena_spin_lock.c | 39 ASSERT_FALSE(true, "pthread_barrier"); in spin_lock_thread()
|
| A D | log_fixup.c | 124 ASSERT_FALSE(bpf_map__autocreate(skel->maps.missing_map), "missing_map_autocreate"); in missing_map()
|
| A D | bpf_obj_id.c | 123 !ASSERT_FALSE((env.jit_enabled && !prog_infos[i].jited_prog_len), "jited_prog_len") || in serial_test_bpf_obj_id() 124 !ASSERT_FALSE((env.jit_enabled && !memcmp(jited_insns, zeros, sizeof(zeros))), in serial_test_bpf_obj_id()
|
| A D | tcp_hdr_options.c | 244 ASSERT_FALSE(check_error_linum(sk_fds), "check_error_linum"); in check_hdr_and_close_fds() 511 ASSERT_FALSE(check_error_linum(&sk_fds), "check_error_linum"); in misc()
|
| /tools/testing/selftests/mm/ |
| A D | guard-regions.c | 314 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 328 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 355 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() 629 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 786 ASSERT_FALSE(try_read_buf(curr)); in TEST_F() 866 ASSERT_FALSE(result); in TEST_F() 929 ASSERT_FALSE(result); in TEST_F() 981 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 1029 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 1541 ASSERT_FALSE(result); in TEST_F() [all …]
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_info_test.c | 143 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 158 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 177 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 192 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 215 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 321 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 332 ASSERT_FALSE(!!(info2.mask & PIDFD_INFO_EXIT)); in TEST_F() 339 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 515 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 532 ASSERT_FALSE(!!(fds.revents & POLLHUP)); in TEST_F() [all …]
|
| /tools/testing/selftests/proc/ |
| A D | proc-maps-race.c | 576 ASSERT_FALSE(print_boundaries_on( in TEST_F() 582 ASSERT_FALSE(print_boundaries_on( in TEST_F() 585 ASSERT_FALSE(print_boundaries_on( in TEST_F() 651 ASSERT_FALSE(print_boundaries_on( in TEST_F() 657 ASSERT_FALSE(print_boundaries_on( in TEST_F() 660 ASSERT_FALSE(print_boundaries_on( in TEST_F() 718 ASSERT_FALSE(print_boundaries_on( in TEST_F() 724 ASSERT_FALSE(print_boundaries_on( in TEST_F() 727 ASSERT_FALSE(print_boundaries_on( in TEST_F()
|
| /tools/testing/selftests/coredump/ |
| A D | stackdump_test.c | 524 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 587 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 1069 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 1167 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 1264 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 1363 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 1462 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 1814 ASSERT_FALSE(set_core_pattern("@../coredump.socket")); in TEST_F() 1816 ASSERT_FALSE(set_core_pattern("@..")); in TEST_F() 1820 ASSERT_FALSE(set_core_pattern("@@../coredump.socket")); in TEST_F() [all …]
|
| /tools/testing/selftests/user_events/ |
| A D | user_events_selftests.h | 103 ASSERT_FALSE(fail); \
|
| /tools/testing/vma/ |
| A D | vma.c | 47 #define ASSERT_FALSE(_expr) ASSERT_TRUE(!(_expr)) macro 318 ASSERT_FALSE(attach_vma(&mm, vma_left)); in test_simple_merge() 319 ASSERT_FALSE(attach_vma(&mm, vma_right)); in test_simple_merge() 343 ASSERT_FALSE(attach_vma(&mm, init_vma)); in test_simple_modify() 409 ASSERT_FALSE(attach_vma(&mm, vma)); in test_simple_expand() 411 ASSERT_FALSE(expand_existing(&vmg)); in test_simple_expand() 430 ASSERT_FALSE(attach_vma(&mm, vma)); in test_simple_shrink() 502 ASSERT_FALSE(merged); in test_merge_new() 1254 ASSERT_FALSE(vma_write_started(vma_next)); in test_anon_vma_non_mergeable() 1285 ASSERT_FALSE(vma_write_started(vma_next)); in test_anon_vma_non_mergeable() [all …]
|
| /tools/testing/memblock/tests/ |
| A D | common.h | 44 #define ASSERT_FALSE(_seen) ASSERT_EQ(false, _seen) macro
|
| /tools/testing/selftests/ring-buffer/ |
| A D | map_test.c | 150 ASSERT_FALSE(fail); in FIXTURE_SETUP() 282 ASSERT_FALSE(fail); in FIXTURE_SETUP()
|
| /tools/testing/selftests/arm64/gcs/ |
| A D | libc-gcs.c | 298 ASSERT_FALSE(true); in TEST() 437 ASSERT_FALSE(self->stack == MAP_FAILED); in FIXTURE_SETUP() 658 ASSERT_FALSE(self->stack == MAP_FAILED); in FIXTURE_SETUP()
|
| /tools/testing/selftests/ptrace/ |
| A D | get_syscall_info.c | 136 ASSERT_FALSE(WIFSIGNALED(status)) { in TEST()
|