Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test-test.c Create Date:2022-07-28 06:39:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kunit_resource_test_init_resources

Proto:static void kunit_resource_test_init_resources(struct kunit *test)

Type:void

Parameter:

TypeParameterName
struct kunit *test
134  ctx = priv
136  kunit_init_test( & test, "testing_test_init_test")
138  KUNIT_EXPECT_TRUE() - Causes a test failure when the expression is not true(test, list_empty - tests whether a list is empty*@head: the list to test.)