Home
last modified time | relevance | path

Searched refs:ASSERT_STRNEQ (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcrypto_sanity.c159 if (!ASSERT_STRNEQ(skel->bss->dst, afalg_dst, sizeof(afalg_dst), "encrypt AF_ALG")) in test_crypto_sanity()
184 if (!ASSERT_STRNEQ(skel->bss->dst, afalg_plain, sizeof(afalg_plain), "decrypt AF_ALG")) in test_crypto_sanity()
H A Dverifier_log.c113 if (!ASSERT_STRNEQ(logs.buf, logs.reference, 24, "log_fixed_contents_25")) in verif_log_subtest()
158 if (!ASSERT_STRNEQ(logs.buf, exp_log, i - 1, op_name)) { in verif_log_subtest()
320 ASSERT_STRNEQ(logs.buf, logs.reference, 24, op_name); in verif_btf_log_subtest()
H A Dxdp_attach.c142 ASSERT_STRNEQ((const char *) errmsg.msg, tgt_errmsg, in test_xdp_attach_fail()
H A Dmptcp.c161 if (!ASSERT_STRNEQ(val.ca_name, ca_name, TCP_CA_NAME_MAX, "unexpected ca_name")) in verify_msk()
H A Dbtf_dump.c285 ASSERT_STRNEQ(name, prefix, strlen(prefix), in btf_dump_data()
658 ASSERT_STRNEQ(str, cmpstr, strlen(cmpstr), "file_operations"); in test_btf_dump_struct_data()
H A Dtc_redirect.c509 ASSERT_STRNEQ(data, expected, s, "expected rcv data"); in __rcv_tstamp()
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h318 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ macro