aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test-common.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-09-26 17:07:19 -0700
committerGerald Combs <gerald@wireshark.org>2022-09-26 18:38:14 -0700
commitdc521850e5756b3dfcd2fa836717b16e973bd540 (patch)
treeec5eb0ccd5a66a253d3963a74244e84005bc65e5 /tools/test-common.sh
parent749a8d091200b43175268689996471b59fa34266 (diff)
Tools: Fuzz subsets of large files.
If our capture file has more than a designated maximum number of packets, fuzz a random subset.
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-xtools/test-common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh
index 2090bf567b..2958079ca8 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -50,6 +50,8 @@ MAX_VMEM=1000000
MAX_STACK=2033
# Insert z times an error into the capture file (0.02 seems to be a good value to find errors)
ERR_PROB=0.02
+# Maximum number of packets to fuzz
+MAX_FUZZ_PACKETS=50000
# Call *after* any changes to WIRESHARK_BIN_DIR (e.g., via command-line options)
function ws_bind_exec_paths() {