mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 14:51:52 +00:00
Fixed the deeply nested process tree test to: 1. Remove comment prefix that was breaking shell execution 2. Use separate shell script file for level2 to avoid escaping issues 3. Make level2 wait for its background job so level3 doesn't get reparented to init before autokill runs 4. Use regex matching to parse PIDs robustly 5. Properly verify all 3 levels are killed by autokill The test now correctly verifies that autokill recursively kills: - Level 1: outer shell - Level 2: inner shell script - Level 3: sleep process (grandchild) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>