On Fri, Nov 06, 2020 at 10:29:50AM +0800, Zhang Yale wrote:
[Why] hackbench-git is an old version required by the customer. The hackbench-git usage: hackbench [-pipe] <num groups> [process|thread] [loops] So need to add new test script for hackbench-git.
Signed-off-by: Zhang Yale ylzhangah@qq.com
tests/hackbench-git | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 tests/hackbench-git
diff --git a/tests/hackbench-git b/tests/hackbench-git new file mode 100755 index 00000000..f902fb0e --- /dev/null +++ b/tests/hackbench-git @@ -0,0 +1,35 @@
+# - mode
-n $mode first
+[ "$ipc" = 'pipe' ] && ipc_option='-pipe'
-n $mode too
+[ -n "$runtime" ] || runtime=600 +[ -n "$iterations" ] || iterations=10 +[ -n "$loops" ] || loops=100 +[ -n "$nr_threads" ] || nr_threads=1
^ use tabe to indent ||
Thanks, Wang Yong