EXPECT_NULL(9)
okay so bestie π welcome to EXPECT_NULL(9) from the Kernel API Manual β sheβs short, sheβs sweet, and sheβs literally here to check one thing. Weβre covering every crumb, no skipping, periodt. β¨
πΈ NAME πΈ
EXPECT_NULL - no extra description in the original, just the name and that little dash. Minimalist icon behavior, honestly π
π¦ SYNOPSIS π¦
EXPECT_NULL (seen );
π ARGUMENTS π
seenβ measured value. Thatβs the value, bestie π«Ά
π DESCRIPTION π
EXPECT_NULL(measured): NULL == measured
Thatβs the whole vibe: EXPECT_NULL(measured), and the check is NULL == measured. No cap, thatβs the tea ββ¨
π SEE ALSO π
okay these are the cross-refs, and yes weβre listing every single one because we donβt skip, ever π :
- Kernel file
./tools/testing/selftests/kselftest_harness.hexample(9) TH_LOG(9)SKIP(9)TEST(9)TEST_SIGNAL(9)FIXTURE_DATA(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_TRUE(9)EXPECT_FALSE(9)EXPECT_STREQ(9)EXPECT_STRNE(9)XFAIL_ADD(9)
xoxo, your kernel-testing bestie π β source/version: ./tools/testing/selftests; date: October 2026; and yes, EXPECT_NULL(9) remains the main character πβ¨
π¦ 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