Home
last modified time | relevance | path

Searched refs:expected_results (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/wireguard/selftest/
H A Dratelimiter.c13 } expected_results[] __initconst = { variable
29 total_msecs += expected_results[i].msec_to_sleep_before; in maximum_jiffies_at_index()
44 for (i = 0; i < ARRAY_SIZE(expected_results); ++i) { in timings_test()
45 if (expected_results[i].msec_to_sleep_before) in timings_test()
46 msleep(expected_results[i].msec_to_sleep_before); in timings_test()
52 expected_results[i].result) in timings_test()
73 expected_results[i].result) in timings_test()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c35 static __u32 expected_results[NR_RESULTS]; variable
346 if (results[i] != expected_results[i]) { in check_results()
363 printf("%u", expected_results[0]); in check_results()
365 printf(", %u", expected_results[i]); in check_results()
461 expected_results[DROP_ERR_INNER_MAP]++; in test_err_inner_map()
467 expected_results[DROP_ERR_SKB_DATA]++; in test_err_skb_data()
478 expected_results[DROP_ERR_SK_SELECT_REUSEPORT]++; in test_err_sk_select_port()
489 expected_results[PASS]++; in test_pass()
507 expected_results[PASS] += 2; in test_syncookie()
537 expected_results[PASS_ERR_SK_SELECT_REUSEPORT] += 1; in test_pass_on_err()
[all …]
/openbmc/linux/lib/
H A Dchecksum_kunit.c62 static const u16 expected_results[] = { variable
235 CHECK_EQ(sizeof(expected_results) / sizeof(expected_results[0]), in assert_setup_correct()
262 expec = to_sum16(expected_results[len]); in test_csum_fixed_random_inputs()
/openbmc/phosphor-pid-control/test/
H A Ddbus_util_unittest.cpp73 std::vector<std::pair<std::string, std::string>> expected_results = { in TEST_F() local
77 EXPECT_THAT(results, UnorderedElementsAreArray(expected_results)); in TEST_F()
85 std::vector<std::pair<std::string, std::string>> expected_results = { in TEST_F() local
90 EXPECT_THAT(results, UnorderedElementsAreArray(expected_results)); in TEST_F()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drecipeutils.py117 expected_results = {
128 for pn, expected in expected_results.items():