[why] old version package needs to debug by new testcase
Signed-off-by: Hu XueJiao 1034502035@qq.com --- tests/sysbench-threads-git | 18 ++++++++++++++++++ 1 file changed, 18 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..df1bb5cf --- /dev/null +++ b/tests/sysbench-threads-git @@ -0,0 +1,18 @@ +#!/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 +) + +log_cmd sysbench --test=threads "${args[@]}" run
On Thu, Nov 05, 2020 at 04:39:51PM +0800, Hu Xuejiao wrote:
[why] old version package needs to debug by new testcase
I don't think the [why] is necessary, it didn't explain anything about this patch.
Signed-off-by: Hu XueJiao 1034502035@qq.com
tests/sysbench-threads-git | 18 ++++++++++++++++++ 1 file changed, 18 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..df1bb5cf --- /dev/null +++ b/tests/sysbench-threads-git @@ -0,0 +1,18 @@ +#!/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
+)
+log_cmd sysbench --test=threads "${args[@]}" run
2.23.0