Skip to content

Commit 9bb7a03

Browse files
committed
Code review feedback fixes
1 parent 8545842 commit 9bb7a03

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

agent/bench-scripts/pbench-linpack

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function store_and_run {
132132
local cmd=${2}
133133
local filename=${3}
134134
(
135-
cd "${1}" &&
135+
cd "${workdir}" &&
136136
echo "${cmd}" > "${filename}" &&
137137
chmod +x "${filename}" &&
138138
"./${filename}" &> "${filename}.out"
@@ -197,7 +197,6 @@ trap "interrupt" INT QUIT TERM
197197
let count=1
198198
for thread in ${threads//,/ }; do
199199
iteration="${count}-${thread}-threads"
200-
echo ${iteration} >> ${benchmark_iterations}
201200
iteration_dir="${benchmark_run_dir}/${iteration}"
202201
mkdir -p "${iteration_dir}"
203202
record_iteration ${count} ${thread} ${iteration}

agent/bench-scripts/tests/pbench-linpack/test-65.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Setup a fake install of linpack but without the expected executable.
3+
# Setup a fake install of linpack but with a stub for the expected executable.
44
_linpack_dir=${_testtmp}/linpack
55
mkdir ${_linpack_dir} || exit 1
66
printf -- "#!/bin/bash\nexit 0\n" > ${_linpack_dir}/xlinpack_xeon64 || exit 1

0 commit comments

Comments
 (0)