Skip to content

Commit

Permalink
Code review feedback fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
portante committed Apr 8, 2022
1 parent 8545842 commit 9bb7a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions agent/bench-scripts/pbench-linpack
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function store_and_run {
local cmd=${2}
local filename=${3}
(
cd "${1}" &&
cd "${workdir}" &&
echo "${cmd}" > "${filename}" &&
chmod +x "${filename}" &&
"./${filename}" &> "${filename}.out"
Expand Down Expand Up @@ -197,7 +197,6 @@ trap "interrupt" INT QUIT TERM
let count=1
for thread in ${threads//,/ }; do
iteration="${count}-${thread}-threads"
echo ${iteration} >> ${benchmark_iterations}
iteration_dir="${benchmark_run_dir}/${iteration}"
mkdir -p "${iteration_dir}"
record_iteration ${count} ${thread} ${iteration}
Expand Down
2 changes: 1 addition & 1 deletion agent/bench-scripts/tests/pbench-linpack/test-65.pre
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

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

0 comments on commit 9bb7a03

Please sign in to comment.