Skip to content

Commit

Permalink
Update iperf-client to abort for benchmark errors
Browse files Browse the repository at this point in the history
  • Loading branch information
grdumas authored May 26, 2023
1 parent 3686370 commit 20d5ac4
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 20d5ac4

Please sign in to comment.