summaryrefslogtreecommitdiff
path: root/test/_libtest.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: normalize "where" variable to include framework prefix and snippet nameDaniel Kahn Gillmor2021-03-011-1/+1
|
* Name "snippets" explicitlyDaniel Kahn Gillmor2021-03-011-4/+4
| | | | | | | | | | Earlier, this code was conceived of to test a "function" specifically, but some future snippet could test multiple function calls, or a subset of a function call (e.g. snippets/syscall_clock_gettime.c already only tests one particular syscall diversion number). Normalizing on the name "snippet" should make it easier to understand the code going forward.
* Overhaul testing library constructorsDaniel Kahn Gillmor2021-02-251-0/+8
We want to make it easier to test a bunch of different functions that might be invoked in constructors of other libraries. It seems conceivable that with these snippets, we could design other tests that also work across a wide range of intercepted functions.