FIXTURE_DATA(9)
π NAME π
FIXTURE_DATA β and yes bestie, this is FIXTURE_DATA(9) from the Kernel API Manual π β wraps the struct name so we have one less argument to pass around. That's the whole serve, no cap.
β¨ SYNOPSIS β¨
FIXTURE_DATA (datatype_name );
πΈ ARGUMENTS πΈ
datatype_nameβ datatype name. That's it, that's the argument π
π DESCRIPTION π
FIXTURE_DATA(datatype_name)
Okay so almost always, you want just FIXTURE instead (see below). This call may be used when the type of the fixture data is needed. In general, this should not be needed unless the *self* is being passed to a helper directly.
π¦ SEE ALSO π¦
Go say hi to the rest of the kernel testing crew, bestie:
- Kernel file
./tools/testing/selftests/kselftest_harness.hβexample(9) TH_LOG(9)SKIP(9)TEST(9)TEST_SIGNAL(9)FIXTURE(9)FIXTURE_SETUP(9)FIXTURE_TEARDOWN(9)FIXTURE_TEARDOWN_PARENT(9)FIXTURE_VARIANT(9)FIXTURE_VARIANT_ADD(9)TEST_F(9)TEST_HARNESS_MAIN(9)operators(9)ASSERT_EQ(9)ASSERT_NE(9)ASSERT_LT(9)ASSERT_LE(9)ASSERT_GT(9)ASSERT_GE(9)ASSERT_NULL(9)ASSERT_TRUE(9)ASSERT_FALSE(9)ASSERT_STREQ(9)ASSERT_STRNE(9)EXPECT_EQ(9)EXPECT_NE(9)EXPECT_LT(9)EXPECT_LE(9)EXPECT_GT(9)EXPECT_GE(9)EXPECT_NULL(9)EXPECT_TRUE(9)EXPECT_FALSE(9)EXPECT_STREQ(9)EXPECT_STRNE(9)XFAIL_ADD(9)
Okay that's the whole page, bestie! The footer vibes say source ./tools/testing/selftests, date October 2026, and page FIXTURE_DATA(9). Go off and pass that struct name around π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms