93fa093122
Signed-off-by: AdamKorcz <adam@adalogics.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
278 B
Go
15 lines
278 B
Go
package mounts
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func FuzzParseLinux(f *testing.F) {
|
|
f.Fuzz(func(t *testing.T, data []byte) {
|
|
parser := NewLinuxParser()
|
|
if p, ok := parser.(*linuxParser); ok {
|
|
p.fi = mockFiProvider{}
|
|
}
|
|
_, _ = parser.ParseMountRaw(string(data), "local")
|
|
})
|
|
}
|