aboutsummaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/fuzztest/run_radamsa.sh
blob: 52cd40a86907c36c2682ee1744784daee507ec4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

TMP=`tempfile`

echo $TMP
while true
do
   radamsa sample_data/* > $TMP
   $1 < $TMP
   test $? -gt 127 && break
done