[Perl/perl5] 1de045: PathTools: fix cwd_noent test trying to delete cur...

[email protected] (Graham Knop via perl5-changes) Tue, 16 Jun 2026 07:49:23 -0700
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1de0457d57c047e26bd1254ebfbd4c2284bb6045
      https://github.com/Perl/perl5/commit/1de0457d57c047e26bd1254ebfbd4c2284bb6045
  Author: Graham Knop <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M dist/PathTools/t/cwd_enoent.t

  Log Message:
  -----------
  PathTools: fix cwd_noent test trying to delete current directory

File::Path will refuse to remove the current directory. This is used by
File::Temp's CLEANUP option, so we need to be sure to chdir out of the
temp directory used before its cleanup is triggered in its END block.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications