view fuzzers_test.sh @ 1660:26e07f7f682a

MOTD enabled by default as the manpage says (#87) The man page (https://github.com/mkj/dropbear/blob/master/dropbear.8) says MOTD will be printed by default for any login shell, but it was disabled at compile time. Probably happened by accident when this code was moved from `options.h` to `default_options.h`.
author zciendor <37557036+zciendor@users.noreply.github.com>
date Sat, 14 Mar 2020 14:21:01 +0000
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