view fuzzers_test.sh @ 1822:fa6ff07dcc77

signkey: remove !! from SHA1 digest (#130) Remove the "!!" chars from message when printing the key-fingerprint, as it's confusing users. They have been added when switching from MD5, but SHA1 can be considered as standard today. Signed-off-by: Sven Roederer <[email protected]>
author Sven Roederer <devel-sven@geroedel.de>
date Thu, 19 Aug 2021 17:39:31 +0200
parents fd00aeff38fd
children
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://hg.ucc.asn.au/dropbear-fuzzcorpus fuzzcorpus || exit 1
for f in `make list-fuzz-targets`; do
    # use xargs to split the too-long argument list
    # -q quiet because travis has a logfile limit
    echo fuzzcorpus/$f/* | xargs -n 1000 ./$f -q || result=1
done

exit $result