summaryrefslogtreecommitdiffhomepage
path: root/fuzzers_test.sh
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-01 22:54:57 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-01 22:54:57 +0800
commitc1a2dcb25d549cf1a3a4607bb8a95838175962f6 (patch)
treeb3c79c10fbab97999ea6ab7432e1d2e601d22251 /fuzzers_test.sh
parent8062a4e8d622162a2eda72e09f930d2475c29070 (diff)
add fuzzers to travis
Diffstat (limited to 'fuzzers_test.sh')
-rwxr-xr-xfuzzers_test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/fuzzers_test.sh b/fuzzers_test.sh
new file mode 100755
index 0000000..1618ee1
--- /dev/null
+++ b/fuzzers_test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# runs fuzz corpus with standalone fuzzers
+
+result=0
+
+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