view fuzzers_test.sh @ 1735:88f63b8b0f13

Added tag DROPBEAR_2020.80 for changeset 73646de50f13
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 Jun 2020 21:57:18 +0800
parents f52919ffd3b1
children 8b27de2c92ee
line wrap: on
line source

#!/bin/sh

# runs fuzz corpus with standalone fuzzers

result=0

test -d fuzzcorpus && hg --repository fuzzcorpus/ pull || hg clone https://secure.ucc.asn.au/hg/dropbear-fuzzcorpus fuzzcorpus || exit 1
for f in `make list-fuzz-targets`; do
    ./$f fuzzcorpus/$f/* || result=1
done

exit $result