summaryrefslogtreecommitdiff
path: root/cpan/CGI/t/tmpdir.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/CGI/t/tmpdir.t')
-rw-r--r--cpan/CGI/t/tmpdir.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/CGI/t/tmpdir.t b/cpan/CGI/t/tmpdir.t
index 6e3fcbd87d..1407356a2f 100644
--- a/cpan/CGI/t/tmpdir.t
+++ b/cpan/CGI/t/tmpdir.t
@@ -37,4 +37,4 @@ isnt($CGITempFile::TMPDIRECTORY, $testdir,
"unwritable \$ENV{TMPDIR} not overridden with an unwritable \$CGITempFile::TMPDIRECTORY");
}
-END { rmdir for ($testdir, $testdir2) }
+END { for ($testdir, $testdir2) { chmod 0700, $_; rmdir; } }