Skip to content

Commit

Permalink
Merge pull request #121 from craigberry/master
Browse files Browse the repository at this point in the history
Don't try to utime an open file on VMS
  • Loading branch information
toddr authored Aug 20, 2024
2 parents 3eed106 + 8b6e470 commit fe9613f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/utime.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use autodie;
use File::Temp qw(tempfile);

my ($fh, $filename) = tempfile;
close $fh; # may not be able to utime an open file

eval { utime(undef, undef, NO_SUCH_FILE); };
isa_ok($@, 'autodie::exception', 'exception thrown for utime');
Expand Down

0 comments on commit fe9613f

Please sign in to comment.