aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/testutil
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.
* all: go fix everythingDmitry Vyukov2024-04-262-2/+0
|
* 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.
* pkg/testutil: add packageDmitry Vyukov2021-12-212-0/+18
Add package with RaceEnabled const that can be used in test to skip long tests in race mode. Switch existing tests to use the new package. Update #2886