Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testscript: remove temp dirs when finishing once again
The recent transition from RunMain to Main meant that we started calling os.Exit directly when Main finished. However, we failed to spot that os.Exit would make our earlier deferred cleanup of the temporary directory not run at all. Spotted because my /tmp started getting filled up after a few hours of development, and I found a suspiciously large number of testscript-looking directories.
- Loading branch information