mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
Expanded test coverage from 4 basic tests to 13 comprehensive tests covering: ## Core Functionality - Basic flag recognition and parsing - Single and multiple child process termination - Process tree preservation without --autokill flag ## Advanced Scenarios - Nested process trees (shell with background jobs) - Deeply nested process trees (3+ levels deep) - Mixed process types (spawn, exec, shells) - Rapid process spawning scenarios ## Edge Cases & Robustness - Uncaught exception handling - Non-zero exit code preservation - Concurrent process spawning during tree walking - Custom signal handler interference - Exit code preservation across all scenarios This provides comprehensive coverage of real-world autokill scenarios and ensures the SIGSTOP/SIGKILL implementation works correctly. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>