aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/testutil/testutil.go
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-declextract: infer argument/field typesDmitry Vyukov2024-12-171-0/+9
| | | | | | Use data flow analysis to infer syscall argument, return value, and struct field types. See the comment in pkg/declextract/typing.go for more details.
* pkg/manager: add test for all HTTP templatesDmitry Vyukov2024-11-071-0/+49
| | | | | | | | | It's easy to make mistakes in templates that lead to runtime panics. Catch them during testing. This required to convert some pointers to values for things that must not be nil. Otherwise the randomized test can pass nil for the objects and templates fail.
* pkg/testutil: move iterCount from prog packageDmitry Vyukov2022-12-221-0/+11
|
* executor: add test for zlib decompressionDmitry Vyukov2022-11-231-0/+8
|
* pkg/testutil: add RandSource helperDmitry Vyukov2022-11-231-0/+24
The code to send rand source is dublicated in several packages. Move it to testutil package.