diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-08-20 15:39:08 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-08-21 15:06:48 +0000 |
commit | 6ee559efd1af6a02ebde42318ec41c50457b3fca (patch) | |
tree | bf993a7eeb5f39ae905df45546555977629a0516 | |
parent | 4b3745e6ef214002acecdb2a1c7dd6572be25555 (diff) |
Fuzz: Reduce the Valgrind packet limit to 10,000.
Limit Valgrind to the first 10,000 packets in each file.
Change-Id: I27be212ddb437c643ffb413bb9d1c809dbe98a55
Reviewed-on: https://code.wireshark.org/review/29210
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rwxr-xr-x | tools/fuzz-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index 7b63194a6c..f3edc7d79f 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -82,10 +82,10 @@ if [ $VALGRIND -eq 1 ]; then # (1.5x time is too small for a few large captures in the menagerie) MAX_CPU_TIME=$(( 3 * MAX_CPU_TIME )) MAX_VMEM=$(( 3 * MAX_VMEM / 2 )) - # Valgrind is slow. Trim captures to the first 100k packets so that + # Valgrind is slow. Trim captures to the first 10k packets so that # we don't time out. KEEP=-r - PACKET_RANGE=1-100000 + PACKET_RANGE=1-10000 else # Not using valgrind, use regular tshark. # TShark arguments (you won't have to change these) |