Cleanup has a scope and a limit
Create a unique owned directory, register EXIT cleanup, and preserve the original exit status.
The fixture exits 7; the parent observes 7 and verifies that directory is gone. A separate TERM case observes 143 and verifies cleanup.
EXIT cleanup cannot run after SIGKILL or machine failure. Never use a shared or unvalidated path as a recursive cleanup target.