Skip to content

Commit 1c92421

Browse files
ndokoswebbnh
authored andcommitted
Fix pbench-linpack options handling bug - backport to b0.71
This is a backport of #2926 to b0.71. Fixes #2924. Remove extra shift. Add a simple test. (The invocation is a bit complicated: it's supposed to be a remote invocation to check for the existence of an executable, so it needs to be told where the "installation" directory is.)
1 parent 8c029b8 commit 1c92421

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

agent/bench-scripts/pbench-linpack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ while true; do
109109
exit 0
110110
;;
111111
--)
112-
shift
113112
break
114113
;;
115114
*)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test-66.env
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--pre-check-only 11.1.3 ${PBENCH_LINPACK_INSTALL_PREFIX_DIR}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test-66.pre
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
+++ Running test-68 pbench-linpack
2+
--- Finished test-68 pbench-linpack (status=0)
3+
+++ pbench tree state
4+
/var/tmp/pbench-test-bench/pbench-agent
5+
/var/tmp/pbench-test-bench/pbench-agent/tmp
6+
/var/tmp/pbench-test-bench/pbench-agent/tools-v1-default
7+
/var/tmp/pbench-test-bench/pbench-agent/tools-v1-default/__trigger__
8+
/var/tmp/pbench-test-bench/pbench-agent/tools-v1-default/testhost.example.com
9+
/var/tmp/pbench-test-bench/pbench-agent/tools-v1-default/testhost.example.com/mpstat
10+
/var/tmp/pbench-test-bench/pbench-agent/tools-v1-default/testhost.example.com/sar
11+
--- pbench tree state

0 commit comments

Comments
 (0)