test.sh fix

This commit is contained in:
van Hauser
2020-03-21 21:42:32 +01:00
parent c6db05c5ae
commit f8d717d195
2 changed files with 8 additions and 7 deletions

View File

@ -303,8 +303,6 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
trying to calibrate already-added finds. This helps avoid trouble due
to intermittent latency. */
runcnt++;
if (!from_queue || afl->resuming_fuzz)
use_tmout = MAX(afl->fsrv.exec_tmout + CAL_TMOUT_ADD,
afl->fsrv.exec_tmout * CAL_TMOUT_PERC / 100);
@ -440,6 +438,8 @@ abort_calibration:
if (!first_run) show_stats(afl);
runcnt++;
return fault;
}