1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-21 15:17:01 +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

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("@\xed\x88̥̥̥̥̥̥̄̈́̈́̈́̈́̈́̈́̈́̈́ͥ̈́̈́ͥ̓\x00\x00")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("AHVAZABwYXNz")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("dUBkAHVAZABwYXNz")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("\xeb̥̥̥̥̥̥̥̈́ͥ̈́̈́̈́̈́̈́̈́̈́̈́̈́ͥ̓@\x00\x00")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("this is not base64 encoded")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("\xeb̥̥̥̥̥̥ͯ̈́̈́̈́̈́̈́ͯ̈́̈́̈́̈́̈́̈́@\x00\x00")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("\xeb̥̥̥̥̥̥̈́̈́̈́̈́̈́ͯ̈́̈́̈́̈́̈́̈́̈́@\x00\x00")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("dUBkAABwYXNz")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("w7FhY2FAw7FlcXVlAABjbGF2YXLDqQ==")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("dUBkAABwYXNz/w==")

View File

@@ -1 +0,0 @@
dUBkAHVAZABwYXNz

View File

@@ -1 +0,0 @@
dUBkAABwYXNz

View File

@@ -1 +0,0 @@
AHVAZABwYXNz

View File

@@ -1 +0,0 @@
dUBkAABwYXNz/w==

View File

@@ -1 +0,0 @@
w7FhY2FAw7FlcXVlAABjbGF2YXLDqQ==

View File

@@ -1 +0,0 @@
this is not base64 encoded

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.