Home
last modified time | relevance | path

Searched refs:ASSERT_NEQ (Results 1 – 12 of 12) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dxdp_cpumap_attach.c49 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_CPUMAP program")) in test_xdp_cpumap_attach()
55 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_CPUMAP program to cpumap entry"); in test_xdp_cpumap_attach()
Dxdp_devmap_attach.c51 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_DEVMAP program")) in test_xdp_with_devmap_helpers()
57 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_DEVMAP program to devmap entry"); in test_xdp_with_devmap_helpers()
Dkfunc_call.c46 ASSERT_NEQ(skel->data->active_res, -1, "active_res"); in test_subprog()
Dtask_local_storage.c59 ASSERT_NEQ(skel->bss->null_ptr_count, 0, "null_ptr_count"); in test_exit_creds()
Dmigrate_reuseport.c153 if (!ASSERT_NEQ(fd, -1, "open")) in setup_fastopen()
230 if (!ASSERT_NEQ(test_case->servers[i], -1, "socket")) in start_servers()
286 if (!ASSERT_NEQ(test_case->clients[i], -1, "socket")) in start_clients()
422 if (!ASSERT_NEQ(client, -1, "accept")) in count_requests()
Dbpf_iter_setsockopt.c120 if (!ASSERT_NEQ(iter_skel->bss->listen_hport, 0, in do_bpf_iter_setsockopt()
139 if (!ASSERT_NEQ(iter_skel->bss->reuse_listen_hport, 0, in do_bpf_iter_setsockopt()
Dtest_ima.c81 ASSERT_NEQ(ima_hash_from_bpf, 0, "ima_hash"); in test_test_ima()
Dbtf_split.c43 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
Dksyms_btf.c105 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms()
Dbtf_dedup_split.c44 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_split_simple()
Dbtf_dump.c718 ASSERT_NEQ(strstr(str, "FS_CONTEXT_FOR_MOUNT"), NULL, in test_btf_dump_struct_data()
/tools/testing/selftests/bpf/
Dtest_progs.h158 #define ASSERT_NEQ(actual, expected, name) ({ \ macro