spawn/test
A fc87ebf939
fix: replace printf -v (bash 4.0+) with eval for macOS bash 3.2 compat (#1522)
printf -v was introduced in bash 4.0 but macOS ships bash 3.2.
_update_retry_interval() in shared/common.sh used printf -v and is called
from generic_ssh_wait and _cloud_api_retry_loop — meaning ALL SSH
connectivity checks and cloud API retries would fail on macOS with:
"printf: -v: invalid option"

Changes:
- shared/common.sh: replace printf -v with eval in _update_retry_interval()
- shared/common.sh: remove dead code in calculate_retry_backoff() where
  next_interval was computed but never used
- shared/key-request.sh: same printf -v fix
- test/macos-compat.sh: add MC013 rule to catch printf -v in future

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-20 10:20:12 -05:00
..
fixtures fix: resolve 18 test/run.sh failures and expand sprite agent coverage (#1498) 2026-02-20 00:06:06 -05:00
e2e.sh feat: remove OVH cloud and make featured_cloud an array (#1474) 2026-02-19 11:06:27 -08:00
macos-compat.sh fix: replace printf -v (bash 4.0+) with eval for macOS bash 3.2 compat (#1522) 2026-02-20 10:20:12 -05:00
mock-curl-script.sh fix: hide cloud API tokens from process argument list (#1519) 2026-02-20 12:51:55 +00:00
mock.sh feat: reorder agents and remove NanoClaw (#1477) 2026-02-19 11:39:03 -08:00
qa-dry-run.sh feat: E2E test harness, QA pipeline integration, macOS compat linter (#1425) 2026-02-17 20:41:07 -05:00
record.sh fix: replace local -n namerefs in test/record.sh for bash 3.2 compat (#1488) 2026-02-19 17:49:35 -05:00
run.sh fix: resolve 18 test/run.sh failures and expand sprite agent coverage (#1498) 2026-02-20 00:06:06 -05:00
test-sandbox.sh fix: enhance sandbox test to detect agent directory residue (#1417) 2026-02-17 12:52:24 -05:00
update-readme.py QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00