Permalink
Browse files

write to $*TMPDIR instead of (maybe readonly) cwd

  • Loading branch information...
1 parent 40da36d commit 0a0cd9c1a0edd8dd248736d8a371e046c99da21d @FROGGS FROGGS committed May 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/getstore.t
View
@@ -5,7 +5,7 @@ use LWP::Simple;
plan 4;
-my $fname = "./tmp-getstore-$*PID";
+my $fname = IO::Spec.catdir($*TMPDIR, "./tmp-getstore-$*PID");
try unlink $fname;
ok(

0 comments on commit 0a0cd9c

Please sign in to comment.