From 20d5ac4a916b2b294529431d36f9779afdbbf6c4 Mon Sep 17 00:00:00 2001 From: Greg Dumas Date: Fri, 26 May 2023 15:18:15 -0400 Subject: [PATCH] Update iperf-client to abort for benchmark errors --- iperf-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iperf-client b/iperf-client index 7963e6a..4fafcba 100755 --- a/iperf-client +++ b/iperf-client @@ -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"