[PATCH v2 lkp-tests] tests/ebizzy: modify the value of iterations

Signed-off-by: Hu XueJiao <1034502035@qq.com> --- tests/ebizzy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ebizzy b/tests/ebizzy index dcc301871..63c2f732a 100755 --- a/tests/ebizzy +++ b/tests/ebizzy @@ -19,7 +19,7 @@ duration=${duration%%s} [ -n "$mmap" ] && opt_mmap=" -m " [ -n "$linear" ] && opt_linear=" -z " - +[[ "$iterations" =~ ^[0-9]{3}x$ ]] && terations=100 for i in $(seq 1 $iterations) do echo Iteration: $i -- 2.23.0

On Thu, Jan 07, 2021 at 06:32:44PM +0800, Hu Xuejiao wrote:
Signed-off-by: Hu XueJiao <1034502035@qq.com> --- tests/ebizzy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/ebizzy b/tests/ebizzy index dcc301871..63c2f732a 100755 --- a/tests/ebizzy +++ b/tests/ebizzy @@ -19,7 +19,7 @@ duration=${duration%%s} [ -n "$mmap" ] && opt_mmap=" -m " [ -n "$linear" ] && opt_linear=" -z "
- +[[ "$iterations" =~ ^[0-9]{3}x$ ]] && terations=100
^------terations => iterations ? Thanks, Liushaofei
for i in $(seq 1 $iterations) do echo Iteration: $i -- 2.23.0
participants (2)
-
Hu Xuejiao
-
Liu Shaofei