diff options
author | Xiao Yang <xiaox.yang@intel.com> | 2019-06-28 11:43:55 +0800 |
---|---|---|
committer | Philip Li <philip.li@intel.com> | 2019-06-28 13:34:48 +0800 |
commit | 4322bd29f4a163bbf7f2e9b9e2d5313b36e95d20 (patch) | |
tree | b3e954625bd3bc93690c042e3a82a94d9c104fc8 | |
parent | 8485add06f86015a029dee1448f7015c75f89013 (diff) | |
download | lkp-tests-4322bd29f4a163bbf7f2e9b9e2d5313b36e95d20.tar.gz |
tests/sysbench-cpu, sysbench-mutex: use new option to run test
fix the following warnings:
--------------------------------------------------------------
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
WARNING: --max-time is deprecated, use --time instead
--------------------------------------------------------------
Signed-off-by: Xiao Yang <xiaox.yang@intel.com>
Signed-off-by: Philip Li <philip.li@intel.com>
-rwxr-xr-x | tests/sysbench-cpu | 6 | ||||
-rwxr-xr-x | tests/sysbench-mutex | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/sysbench-cpu b/tests/sysbench-cpu index 19c614ae..994bd0d1 100755 --- a/tests/sysbench-cpu +++ b/tests/sysbench-cpu @@ -10,9 +10,9 @@ : "${cpu_max_prime:=10000}" args="\ - --num-threads=$nr_threads\ - --max-time=$runtime\ - --test=cpu\ + --threads=$nr_threads\ + --time=$runtime\ + cpu\ --cpu-max-prime=$cpu_max_prime\ " log_cmd sysbench $args run diff --git a/tests/sysbench-mutex b/tests/sysbench-mutex index 92db6535..1aa88c7b 100755 --- a/tests/sysbench-mutex +++ b/tests/sysbench-mutex @@ -14,9 +14,9 @@ : "${mutex_loops:=10000}" args="\ - --num-threads=$nr_threads\ - --max-time=$runtime\ - --test=mutex\ + --threads=$nr_threads\ + --time=$runtime\ + mutex\ --mutex-num=$mutex_num\ --mutex-locks=$mutex_locks\ --mutex-loops=$mutex_loops\ |