EXPECT_GE(9)
π EXPECT_GE(9) π
okay so bestie, we're in the Kernel API Manual (section 9, kernel API, we love a niche queen π) and this page is short but she is iconic. Let's get into it π«Ά
β¨ NAME β¨
EXPECT_GE β and that's literally it. No description, no tagline, no nothing. The NAME section is giving mysterious main character energy π
(yes, fr, the original page leaves the description blank β not me being lazy, that's just the page π).
πΈ SYNOPSIS πΈ
EXPECT_GE (expected , seen );
that's the whole summoning ritual, no cap β¨
π¦ ARGUMENTS π¦
expectedβ the expected value. the one you think should happen πseenβ the measured value. the one you actually saw π
π DESCRIPTION π
here's the tea, and it's literally one line:
EXPECT_GE(expected, measured): expected >= measured
so EXPECT_GE checks that expected is greater than or equal to the measured thing. that's it. that's the whole vibe check π§
tiny heads-up bestie: the ARGUMENTS section calls the second oneseen, but the description calls itmeasured. yes, the naming is a little unhinged β I'm just telling you exactly what the page says, iykyk π
π₯ SEE ALSO π₯
the friend group goes deep, so buckle up π (and yeah, the first one comes with a file path attached, that's not a typo, that's how it's written):
./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_NULL(9)EXPECT_TRUE(9)EXPECT_FALSE(9)EXPECT_STREQ(9)EXPECT_STRNE(9)XFAIL_ADD(9)
go read them, they're all slaying in their own way π
and that's the page, bestie π this gorgeous little artifact lives down in ./tools/testing/selftests and she's stamped October 2026 β see you in the group chat, mwah ππ
π
π¦ 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