STRUCT GLOB_TEST_CASE(9)
π struct glob_test_case(9) π
okay bestie, welcome to the Kernel API Manual glow-up for struct glob_test_case β no cap, itβs literally the test-case struct for glob matching. β¨
π NAME π
struct glob_test_case β Test case for glob matching. Thatβs the whole assignment, and she ate. π
πΈ SYNOPSIS πΈ
hereβs the struct exactly as it is, because we do not mess with code, ever π«Ά:
struct glob_test_case {
const char *pat;
const char *str;
bool expected;
};
π Members π
okay so these are the members, and they are lowkey the whole personality of this struct:
patβ Pattern to match. π§strβ String to match against. π¦expectedβ Expectedglob_matchresult,trueif matched. π
π¦ SEE ALSO π¦
- Kernel file
./lib/tests/glob_kunit.cβ go peek, bestie, itβs right there. π
xoxo bestie π β sourced from/versioned at ./lib/tests, dated October 2026, and this iconic little page is struct glob_test_case(9) β¨π
π¦ 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