CGI: Reset permissions during temporary directory test so Win32 can remove.
authorGeorge Greer <perl@greerga.m-l.org>
Thu, 16 Jun 2011 03:59:22 +0000 (23:59 -0400)
committerGeorge Greer <perl@greerga.m-l.org>
Thu, 16 Jun 2011 04:01:26 +0000 (00:01 -0400)
commiteb883b9286505f2ba163b6a72b9978e9a3645b4d
tree5d9a175148a497bcf1cef5b2362315d3e4266a68
parent6294fed80448f0136ca1d81cbf068a7ed0168d09
CGI: Reset permissions during temporary directory test so Win32 can remove.

The 'tmpdir.t' test leaves the permissions of the directories at 0500, which
translates into setting the 'read-only' bit in Win32-speak.  That makes the
'rmdir' in the END block fail (silently) and thus the test is very unhappy
the next time through.  It is easy enough to just run the test twice to see.
cpan/CGI/t/tmpdir.t