Closed skaji closed 6 years ago
Currently running tests of Minilla leaves temp directories. This PR fixes this.
Before
❯ mkdir tmp ❯ export TMPDIR=$PWD/tmp ❯ prove -lr t xt ... All tests successful. Files=58, Tests=214, 70 wallclock secs ( 0.51 usr 0.12 sys + 55.81 cusr 7.55 csys = 63.99 CPU) Result: PASS ❯ ls -l tmp | head -5 total 568 drwx------ 7 skaji skaji 4096 May 13 19:14 0HvRR1aiNu drwx------ 6 skaji skaji 4096 May 13 19:15 0iQ_PXytvw drwx------ 2 skaji skaji 4096 May 13 19:15 0ktm8WltrZ drwx------ 3 skaji skaji 4096 May 13 19:14 0OUL8DBHk_
After
❯ rm -rf tmp ❯ mkdir tmp ❯ export TMPDIR=$PWD/tmp ❯ git checkout tempdir-cleanup ❯ prove -lr t xt ... All tests successful. Files=58, Tests=214, 68 wallclock secs ( 0.51 usr 0.11 sys + 54.69 cusr 7.68 csys = 62.99 CPU) Result: PASS ❯ ls -l tmp total 0
Currently running tests of Minilla leaves temp directories. This PR fixes this.
Before
After