Skip to content

Commit 307d424

Browse files
haoyu-haoyuclaude
authored andcommitted
build: fix missing '!' in shebang of generated oss-fuzz scripts (#34044)
\`oss-fuzz.sh\` line 38 writes \`#/bin/sh\` instead of \`#!/bin/sh\` as the shebang of generated fuzz test runner scripts. \`\`\`diff -#/bin/sh +#!/bin/sh \`\`\` Without the \`!\`, the kernel does not recognize the interpreter directive. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e26777b commit 307d424

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oss-fuzz.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function coverbuild {
4646
sed -i -e 's/TestFuzzCorpus/Test'$function'Corpus/' ./"${function,,}"_test.go
4747

4848
cat << DOG > $OUT/$fuzzer
49-
#/bin/sh
49+
#!/bin/sh
5050
5151
cd $OUT/$path
5252
go test -run Test${function}Corpus -v $tags -coverprofile \$1 -coverpkg $coverpkg

0 commit comments

Comments
 (0)