summaryrefslogtreecommitdiffhomepage
path: root/fuzzers_test.sh
blob: dab4888bfedd3742e3749c55fdfa18bd86c43753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# runs fuzz corpus with standalone fuzzers

result=0

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

exit $result