fix some test findings

This commit is contained in:
2026-09-05 21:40:41 +02:00
parent 84db84b542
commit 055d8a9620
5 changed files with 25 additions and 12 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
#!/bin/bash
retry() {
local N=$1; shift
local t=$2; shift
for i in $(seq 1 $N); do
for _ in $(seq 1 $N); do
"$@" && return 0 || sleep $t
done
return 1