spawn/test
A af1a2014fa
fix: resolve 32 test failures in run.sh and mock.sh (#1419)
test/run.sh (3 failures fixed):
- Export TEST_DIR so sprite mock tracks create→list state across processes
- Add sleep mock to avoid 30s polling loops in ensure_sprite_exists
- Add timeout/gtimeout, python3 pass-through mocks for host protection
- Set HOME to fake home for isolation, create fake home directory structure
- Clean up /tmp/spawn_* temp files in cleanup trap

test/mock.sh (29 failures fixed):
- Fix fly mock to detect "echo ok" in fly ssh console -C arguments
  (including printf %q escaped form) so _fly_wait_for_ssh() succeeds
- Add timeout/gtimeout pass-through mocks to prevent system calls
- Add python3 delegate mock for JSON parsing in shared/common.sh
- Clean up /tmp/spawn_* temp files in cleanup trap

Co-authored-by: lab <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-17 11:49:28 -08:00
..
fixtures test: add mock test coverage for all 15 Fly.io agent scripts (#1390) 2026-02-17 05:52:26 -05:00
mock-curl-script.sh test: add mock test coverage for all 15 Fly.io agent scripts (#1390) 2026-02-17 05:52:26 -05:00
mock.sh fix: resolve 32 test failures in run.sh and mock.sh (#1419) 2026-02-17 11:49:28 -08:00
qa-dry-run.sh test: sandbox bash tests to prevent production env pollution (#1404) 2026-02-17 11:26:17 -05:00
record.sh test: sandbox bash tests to prevent production env pollution (#1404) 2026-02-17 11:26:17 -05:00
run.sh fix: resolve 32 test failures in run.sh and mock.sh (#1419) 2026-02-17 11:49:28 -08: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