lcr/0007-add-run-count-of-fuzz-test.patch
haozi007 724623be5c sync from openeuler
1. support default container log options
2. fix bugs
3. add relate of isulad docs

Signed-off-by: haozi007 <liuhao27@huawei.com>
2020-12-03 18:57:18 +08:00

27 lines
801 B
Diff

From 3d3111e54bd129e85dd506964efd6fe0f91cb436 Mon Sep 17 00:00:00 2001
From: haozi007 <liuhao27@huawei.com>
Date: Wed, 2 Dec 2020 11:29:56 +0800
Subject: [PATCH 7/7] add run count of fuzz test
Signed-off-by: haozi007 <liuhao27@huawei.com>
---
tests/fuzz/fuzz.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/fuzz/fuzz.sh b/tests/fuzz/fuzz.sh
index 6f80cab..d71be7c 100755
--- a/tests/fuzz/fuzz.sh
+++ b/tests/fuzz/fuzz.sh
@@ -23,7 +23,7 @@
#!/bin/bash
LIB_FUZZING_ENGINE="/lib64/libFuzzer.a"
-FUZZ_OPTION="corpus -dict=./dict/log_fuzz.dict -runs=100000 -max_total_time=3600"
+FUZZ_OPTION="corpus -dict=./dict/log_fuzz.dict -runs=10000000 -max_total_time=3600"
if [ ! -f "$LIB_FUZZING_ENGINE" ];then
echo "$LIB_FUZZING_ENGINE not exist, pls check"
--
2.25.1