~/talk

Tips for Writing Good Tests for Linux

name:Tim Bird
links:none on file
slides:none on file

Compares LTP (over 3,000 functional tests, structured output), Kselftest (in-kernel unit tests, ~350 files across ~52 dirs, moving to TAP format), and Fuego (Docker + Jenkins host/target harness, ~150 wrapped suites, uses Fuego test.sh to build from source, deploy, run, parse into run.json). Explains common failures: false positives from missing deps, flaky timing, and useless syscall tests, and gives concrete tips (check deps, produce unique test IDs, emit machine-parseable result lines, allow skips and thresholds).

AI-written summary · about

  1. 0:00Start
  2. 11:07run a series of ltp test programs
  3. 29:11writing a multi node test
  4. 34:25use unique strings for the test results outputs
  5. 35:45use your result line as the marker between test cases
  6. 43:46assume the capacity or speed of your device under test
  7. 46:39document your parameters
  8. 48:42create a regression test
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.