Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 01b515a

Browse files
author
Yevgeny Pats
committed
exit with status code 1 if regression failed
1 parent 52cf777 commit 01b515a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/utils.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ if test -f "fuzzer"; then
7777
echo "running fuzzer"
7878
chmod a+x fuzzer
7979
80-
./fuzzer -exact_artifact_path=./artifact -print_final_stats=1 $(find seed_dir -type f) ./corpus_dir/* $ARGS
80+
./fuzzer -exact_artifact_path=./artifact -print_final_stats=1 $(find seed_dir -type f) ./corpus_dir/* $ARGS || exit 1
8181
else
8282
echo "failed to locate fuzzer. does 'fuzzer' executable exist in the archive?"
83+
exit 1
8384
fi
8485
`

0 commit comments

Comments
 (0)