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..394bc09ba 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$ ]] && iterations=100 for i in $(seq 1 $iterations) do echo Iteration: $i
On Thu, Jan 07, 2021 at 06:46:40PM +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..394bc09ba 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$ ]] && iterations=100
sh: [[: not found
Thanks, RenWen
for i in $(seq 1 $iterations) do echo Iteration: $i -- 2.23.0