oss-fuzz: fix missing '!' in shebang of generated fuzz scripts

The heredoc writes `#/bin/sh` instead of `#!/bin/sh`. Without the
`!`, the kernel does not recognize the interpreter directive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
SexyERIC0723 2026-03-18 00:26:50 +00:00
parent ab357151da
commit 2d5fa75f5b

View file

@ -35,7 +35,7 @@ function coverbuild {
sed -i -e 's/TestFuzzCorpus/Test'$function'Corpus/' ./"${function,,}"_test.go
cat << DOG > $OUT/$fuzzer
#/bin/sh
#!/bin/sh
cd $OUT/$path
go test -run Test${function}Corpus -v $tags -coverprofile \$1 -coverpkg $coverpkg