On Wed, Nov 04, 2020 at 12:56:48PM +0800, Hu Xuejiao wrote:
[why] old version package needs to debug by new testcase
Signed-off-by: Hu XueJiao 1034502035@qq.com
tests/sysbench-threads-git | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tests/sysbench-threads-git
diff --git a/tests/sysbench-threads-git b/tests/sysbench-threads-git new file mode 100755 index 00000000..712b3359 --- /dev/null +++ b/tests/sysbench-threads-git @@ -0,0 +1,17 @@ +#!/bin/sh +# - nr_threads +# - thread_yields +# - thread_locks
+. "$LKP_SRC/lib/reproduce-log.sh"
+: "${nr_threads:=2}" +: "${thread_yields:=100}" +: "${thread_locks:=2}"
+args="\
- --threads=$nr_threads\
- --thread-yields=$thread_yields\
- --thread-locks=$thread_locks\
add space before ""
Thanks Luan Shengde
+"
+log_cmd sysbench --test=threads $args run
2.23.0