Searched refs:KUNIT_EXPECT_TRUE (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | list-test.c | 36 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1)); in list_test_list_init() 37 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2)); in list_test_list_init() 38 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list3)); in list_test_list_init() 39 KUNIT_EXPECT_TRUE(test, list_empty_careful(list4)); in list_test_list_init() 40 KUNIT_EXPECT_TRUE(test, list_empty_careful(list5)); in list_test_list_init() 122 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a_old)); in list_test_list_replace_init() 161 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a)); in list_test_list_del_init() 177 KUNIT_EXPECT_TRUE(test, list_empty(&list1)); in list_test_list_move() 196 KUNIT_EXPECT_TRUE(test, list_empty(&list1)); in list_test_list_move_tail() 245 KUNIT_EXPECT_TRUE(test, list_is_first(&a, &list)); in list_test_list_is_first() [all …]
|
D | test_linear_ranges.c | 155 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_high() 189 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_low() 197 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_low()
|
/kernel/linux/linux-5.10/kernel/kcsan/ |
D | kcsan-test.c | 441 KUNIT_EXPECT_TRUE(test, match_expect); in test_basic() 473 KUNIT_EXPECT_TRUE(test, match_expect); /* Sanity check matches exist. */ in test_concurrent_races() 496 KUNIT_EXPECT_TRUE(test, match_expect); in test_novalue_change() 518 KUNIT_EXPECT_TRUE(test, match_expect); in test_novalue_change_exception() 538 KUNIT_EXPECT_TRUE(test, match_expect); in test_unknown_origin() 563 KUNIT_EXPECT_TRUE(test, match_expect); in test_write_write_assume_atomic() 585 KUNIT_EXPECT_TRUE(test, match_expect); in test_write_write_struct() 607 KUNIT_EXPECT_TRUE(test, match_expect); in test_write_write_struct_part() 642 KUNIT_EXPECT_TRUE(test, match_expect); in test_read_plain_atomic_write() 665 KUNIT_EXPECT_TRUE(test, match_expect); in test_read_plain_atomic_rmw() [all …]
|
/kernel/linux/linux-5.10/lib/kunit/ |
D | kunit-test.c | 43 KUNIT_EXPECT_TRUE(test, ctx->function_called); in kunit_test_try_catch_successful_try_no_catch() 75 KUNIT_EXPECT_TRUE(test, ctx->function_called); in kunit_test_try_catch_unsuccessful_try_does_catch() 139 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_init_resources() 158 KUNIT_EXPECT_TRUE(test, list_is_last(&res->node, &ctx->test.resources)); in kunit_resource_test_alloc_resource() 190 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_destroy_resource() 210 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_cleanup_resources() 325 KUNIT_EXPECT_TRUE(test, list_empty(&test->resources)); in kunit_resource_test_static() 361 KUNIT_EXPECT_TRUE(test, list_empty(&test->resources)); in kunit_resource_test_named()
|
D | string-stream-test.c | 18 KUNIT_EXPECT_TRUE(test, string_stream_is_empty(stream)); in string_stream_test_empty_on_creation()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | policy_unpack_test.c | 128 KUNIT_EXPECT_TRUE(test, inbounds(puf->e, 0)); in policy_unpack_test_inbounds_when_inbounds() 129 KUNIT_EXPECT_TRUE(test, inbounds(puf->e, puf->e_size / 2)); in policy_unpack_test_inbounds_when_inbounds() 130 KUNIT_EXPECT_TRUE(test, inbounds(puf->e, puf->e_size)); in policy_unpack_test_inbounds_when_inbounds() 195 KUNIT_EXPECT_TRUE(test, in policy_unpack_test_unpack_blob_with_null_name() 209 KUNIT_EXPECT_TRUE(test, in policy_unpack_test_unpack_blob_with_name() 329 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_null_name() 358 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_name() 448 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_u32_with_null_name() 465 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_u32_with_name() 498 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_u64_with_null_name() [all …]
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
D | test.c | 310 KUNIT_EXPECT_TRUE(test, !p); in tb_test_path_basic() 332 KUNIT_EXPECT_TRUE(test, !p); in tb_test_path_not_connected_walk() 343 KUNIT_EXPECT_TRUE(test, !p); in tb_test_path_not_connected_walk() 383 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 395 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 442 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_daisy_chain_walk() 454 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_daisy_chain_walk() 505 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_simple_tree_walk() 517 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_simple_tree_walk() 589 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_complex_tree_walk() [all …]
|
/kernel/linux/linux-5.10/drivers/base/test/ |
D | property-entry-test.c | 294 KUNIT_EXPECT_TRUE(test, fwnode_property_read_bool(node, "prop")); in pe_test_bool() 317 KUNIT_EXPECT_TRUE(test, copy[0].is_inline); in pe_test_move_inline_u8() 349 KUNIT_EXPECT_TRUE(test, copy[0].is_inline); in pe_test_move_inline_str() 357 KUNIT_EXPECT_TRUE(test, copy[2].is_inline); in pe_test_move_inline_str()
|
/kernel/linux/linux-5.10/include/kunit/ |
D | test.h | 1193 #define KUNIT_EXPECT_TRUE(test, condition) \ macro
|