1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

test: Update fuzz tests to use the built-in infrastructure

Go 1.18 supports fuzzing natively, so this patch migrates our fuzzing
tests to make use of it.
This commit is contained in:
Alberto Bertogli
2023-02-05 12:30:25 +00:00
parent a54d81f406
commit efefee9fbb
88 changed files with 246 additions and 470 deletions

10
.gitignore vendored
View File

@@ -34,13 +34,3 @@ chasquid.test
# Exclude any .pem files, to prevent accidentally including test keys and
# certificates.
*.pem
# Ignore the generated corpus: we don't want to commit it to the repository by
# default, to avoid size blowup. Manually added corpus will begin with "t-",
# and thus not ignored.
# Leave crashers not ignored, to make them easier to spot (and they should be
# moved to manually-added corpus once detected).
**/testdata/fuzz/corpus/[0-9a-f]*
# go-fuzz build artifacts.
*-fuzz.zip