mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
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:
parent
ab357151da
commit
2d5fa75f5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue