Skip to content

Commit

Permalink
Merge pull request #34 from perftool-incubator/grdumas-patch-1
Browse files Browse the repository at this point in the history
Update iperf-client to abort for benchmark errors
  • Loading branch information
grdumas authored May 31, 2023
2 parents 3686370 + 20d5ac4 commit 8726b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iperf-client
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ fi

echo BEGIN-TS-0 $(date +%s.%N) > iperf-client-result.txt
${cmd} 2>&1 >> iperf-client-result.txt
echo END-TS-0 $(date +%s.%N) >> iperf-client-result.txt
iperf_rc=$?
echo END-TS-0 $(date +%s.%N) >> iperf-client-result.txt
if [ $iperf_rc -gt 0 ]; then
iperf_errors=`grep -i error iperf-client-result.txt`
exit_error "$iperf_errors"
Expand Down

0 comments on commit 8726b24

Please sign in to comment.