int_loop: check for timeout

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-12-11 15:12:21 -08:00
parent 4d81a436d4
commit ed5d1b07e5
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ while true; do
if python3 ${XRAY_DIR}/fuzzers/int_loop_check.py $check_args ; then
break
fi
if [ -f build/timeout ] ; then
echo "ERROR: timeout"
exit 1
fi
i=$((i+1));
cp build/todo.txt todo/${i}.txt;