xref: /aosp_15_r20/external/nanopb-c/tests/fuzztest/run_radamsa.sh (revision c8d645cafcee3f91213d30caa0fe303887010b9b)
1#!/bin/bash
2
3TMP=`tempfile`
4
5echo $TMP
6while true
7do
8   radamsa sample_data/* > $TMP
9   $1 < $TMP
10   test $? -gt 127 && break
11done
12
13