aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-06-29 19:02:44 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-06-29 19:07:59 +0200
commit4a6c525db845fc8f6564ce18963b91d153a5a354 (patch)
tree78b1d73db04724404f198397a2fe6d8a475a1212 /tests
parent93a4a4387af951a4680061bf4e1effa87fa65406 (diff)
Improved fuzz_ndpi_reader which supports now SMP/MT w/o race-coniditions.
./tests/do.sh can supports SMP/MT via environment variables. Removed -fno-sanitize=shift as well, was fixed by 317d3ffd. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/do.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/do.sh b/tests/do.sh
index 79eed32e5..bb187d40a 100755
--- a/tests/do.sh
+++ b/tests/do.sh
@@ -9,7 +9,7 @@ PCAPS=`cd pcap; /bin/ls *.pcap`
fuzzy_testing() {
if [ -f ../fuzz/fuzz_ndpi_reader ]; then
- ../fuzz/fuzz_ndpi_reader -max_total_time=592 -print_pcs=1 -jobs=1 -workers=1 pcap/
+ ../fuzz/fuzz_ndpi_reader -max_total_time=${MAX_TOTAL_TIME:-592} -print_pcs=1 -workers=${FUZZY_WORKERS:-0} -jobs=${FUZZY_JOBS:-0} pcap/
fi
}