#2993·bpftrace

Audit all runtime tests that use regex for output parsing

Author: danobiCreated Feb 10, 2024Updated May 22, 2026
Labelsgood first issuetests

We've noticed quite a few runtime tests that use regex to validate output are overly permissive in accepted input or are flat out wrong. For example other.positional lhist is probably wrong.

Would be good to audit all the runtime tests that use regex to check if they can be replaced with something a little easier to get right.

See https://github.com/bpftrace/bpftrace/pull/2989 for some more details.