Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 11 of 11) sorted by relevance

/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c32 const struct xdr_netobj *expected_result; member
55 derivedkey.data = kunit_kzalloc(test, param->expected_result->len, in kdf_case()
58 derivedkey.len = param->expected_result->len; in kdf_case()
67 memcmp(param->expected_result->data, in kdf_case()
115 memcmp(param->expected_result->data, in checksum_case()
236 .expected_result = &nfold_test1_expected_result,
242 .expected_result = &nfold_test2_expected_result,
248 .expected_result = &nfold_test3_expected_result,
254 .expected_result = &nfold_test4_expected_result,
260 .expected_result = &nfold_test5_expected_result,
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Dlink-selection.c181 u32 expected_result; member
189 .expected_result = IWL_MLD_EMLSR_EXIT_CHAN_LOAD,
198 .expected_result = 0,
207 .expected_result = IWL_MLD_EMLSR_EXIT_CHAN_LOAD,
216 .expected_result = 0,
225 .expected_result = 0,
234 .expected_result = 0,
243 .expected_result = IWL_MLD_EMLSR_EXIT_CHAN_LOAD,
252 .expected_result = IWL_MLD_EMLSR_EXIT_EQUAL_BAND,
261 .expected_result = IWL_MLD_EMLSR_EXIT_EQUAL_BAND,
[all …]
/linux/lib/math/
H A Dtest_mul_u64_u64_div_u64.c95 u64 expected_result = test_values[i].result; in test_run() local
117 if (result != expected_result) { in test_run()
119 pr_err("ERROR: expected result: %016llx\n", expected_result); in test_run()
123 expected_result += test_values[i].round_up; in test_run()
124 if (result_up != expected_result) { in test_run()
126 pr_err("ERROR: expected result: %016llx\n", expected_result); in test_run()
/linux/samples/kfifo/
H A Dinttype-example.c45 static const int expected_result[FIFO_SIZE] = { variable
92 if (i != expected_result[j++]) { in testfunc()
97 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
H A Drecord-example.c56 static const char *expected_result[] = { variable
106 if (strcmp(buf, expected_result[i++])) { in testfunc()
111 if (i != ARRAY_SIZE(expected_result)) { in testfunc()
H A Dbytestream-example.c45 static const unsigned char expected_result[FIFO_SIZE] = { variable
99 if (i != expected_result[j++]) { in testfunc()
104 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
/linux/lib/math/tests/
H A Dint_pow_kunit.c9 u64 expected_result; member
36 KUNIT_EXPECT_EQ(test, tc->expected_result, int_pow(tc->base, tc->exponent)); in int_pow_test()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_addr.c373 } expected_result; member
2613 test->expected_result == LOAD_REJECT || in test_sock_addr()
2614 test->expected_result == ATTACH_REJECT); in test_sock_addr()
2645 if (test->expected_result == SYSCALL_EPERM) in test_sock_addr()
2647 else if (test->expected_result == SYSCALL_ENOTSUPP) in test_sock_addr()
2649 else if (test->expected_result == SUCCESS) in test_sock_addr()
/linux/drivers/gpu/drm/tests/
H A Ddrm_connector_test.c1101 int expected_result; member
1108 .expected_result = _result, \
1153 KUNIT_EXPECT_EQ(test, ret, params->expected_result); in drm_test_connector_hdmi_init_formats_yuv420_allowed()
/linux/drivers/of/
H A Dunittest.c3667 .expected_result = expected, \
3675 int expected_result; member
3799 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base()
3872 if (ret != info->expected_result) { in overlay_data_apply()
3874 info->expected_result, ret, overlay_name); in overlay_data_apply()
/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.c2528 int expected_result; in cros_ec_proto_test_get_sensor_count_legacy() member
2558 KUNIT_EXPECT_EQ(test, ret, test_data[i].expected_result); in cros_ec_proto_test_get_sensor_count_legacy()