summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-22 01:11:43 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-22 01:11:43 -0400
commitf158ebe126a5f91136778778f9b4e5e6f66e6f71 (patch)
tree9c12943a5f7d392dfb3f4193a3907b305452b35c
parent4c6434dd36585b27757c7eaca4b7cb068c36695a (diff)
downloadopen-iov-f158ebe126a5f91136778778f9b4e5e6f66e6f71.tar.gz
open-iov-f158ebe126a5f91136778778f9b4e5e6f66e6f71.zip
tools/soak.sh: fix the present-clients probe (the for-loop's exit status was 1 whenever the last listed client was absent, so a partial battery always failed with 'no-client-binaries-in-/tmp'); append true inside the probe
-rwxr-xr-xtools/cuda-ab/soak.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cuda-ab/soak.sh b/tools/cuda-ab/soak.sh
index c150692..4f1430f 100755
--- a/tools/cuda-ab/soak.sh
+++ b/tools/cuda-ab/soak.sh
@@ -192,7 +192,7 @@ log "SOAK START mode=$MODE seconds=$SECS guest_dir=$GUEST_DIR timeout=${TMO}s lo
# cannot silently shrink the battery.
found=""
for i in 1 2 3; do
- found="$(gssh "for b in $CLIENTS; do [ -x $GUEST_DIR/\$b ] && echo \$b; done")" || found=""
+ found="$(gssh "for b in $CLIENTS; do [ -x $GUEST_DIR/\$b ] && echo \$b; done; true")" || found=""
[ -n "$found" ] && break
sleep 3
done