strange fuzzer failure

possible fix
This commit is contained in:
John Cupitt 2019-10-07 15:57:00 +01:00
parent 71b557cfc1
commit f98adc1a0a

View File

@ -14,13 +14,12 @@ export VIPS_WARNING=0
ret=0 ret=0
for fuzzer in *_fuzzer; do for fuzzer in *_fuzzer; do
fail=0 for file in common_fuzzer_corpus/*; do
find "common_fuzzer_corpus" -type f -not -empty -print0 \ if ! ./$fuzzer $file; then
| xargs -0 -n1 "./$fuzzer" || fail=1 echo FAIL $fuzzer $file
if [ $fail ]; then ret=1
echo FAIL $fuzzer fi
ret=1 done
fi
done done
exit $ret exit $ret