Mercurial > dropbear
view fuzzers_test.sh @ 1804:f0cd000f3bca
Prevent multiple shells being spawned
Existing shells would be leaked.
The old check only caught multiple commands, not shells.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Mar 2021 23:06:43 +0800 |
parents | 8b27de2c92ee |
children | 42daf3044618 |
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 ./$f fuzzcorpus/$f/* || result=1 done exit $result