Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A Dxdp_cpumap_attach.c49 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_CPUMAP program")) in serial_test_xdp_cpumap_attach()
55 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_CPUMAP program to cpumap entry"); in serial_test_xdp_cpumap_attach()
A 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()
A Dksyms_btf.c105 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms()
132 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms_lskel()
A 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()
A 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()
A Dkfunc_call.c46 ASSERT_NEQ(skel->data->active_res, -1, "active_res"); in test_subprog()
A Dtask_local_storage.c59 ASSERT_NEQ(skel->bss->null_ptr_count, 0, "null_ptr_count"); in test_exit_creds()
A Dtest_ima.c81 ASSERT_NEQ(ima_hash_from_bpf, 0, "ima_hash"); in test_test_ima()
A Dbtf_split.c43 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
A Dbtf_dedup_split.c44 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_split_simple()
A Dbtf_dump.c733 ASSERT_NEQ(strstr(str, "FS_CONTEXT_FOR_MOUNT"), NULL, in test_btf_dump_struct_data()
/linux/tools/testing/selftests/bpf/
A Dtest_progs.h192 #define ASSERT_NEQ(actual, expected, name) ({ \ macro

Completed in 12 milliseconds