In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/6bf77a4bea241aa338f9a8d7ba6aaf25db91e34b?hp=0f9a6232f0af0895807ddd0afae2d5512aa91bf9>
- Log ----------------------------------------------------------------- commit 6bf77a4bea241aa338f9a8d7ba6aaf25db91e34b Author: Tony Cook <[email protected]> Date: Mon Jan 28 14:11:50 2019 +1100 don't leak temp files the test I added allocated more temp files, but didn't arrange for backup files to be cleaned up. Modified the cleanup to clean up every generated temp and backup file even if more are allocated in the future with mkfiles() ----------------------------------------------------------------------- Summary of changes: t/io/nargv.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/io/nargv.t b/t/io/nargv.t index 4482572aeb..a62c4f265e 100644 --- a/t/io/nargv.t +++ b/t/io/nargv.t @@ -137,4 +137,4 @@ sub mkfiles { return wantarray ? @results : @results[-1]; } -END { unlink_all map { ($_, "$_.bak") } mkfiles(1..5) } +END { unlink_all map { ($_, "$_.bak") } @files } -- Perl5 Master Repository
