diff options
author | Craig A. Berry <craigberry@mac.com> | 2023-04-15 12:01:07 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2023-04-15 15:04:28 -0500 |
commit | cc365faa27400f1cbe128133b0ef491a6dd7e913 (patch) | |
tree | 04bd6be3029d451d803ad61d75526f11ec9eaa6f /t | |
parent | 56d8acf499fe4bc71a4248d6c778f12e4ba091a0 (diff) | |
download | perl-cc365faa27400f1cbe128133b0ef491a6dd7e913.tar.gz |
t/TEST: trim .DIR extension on VMS
Otherwise the test suite dies with:
Can't read op/hook.DIR/require.t.
The problem never arose until 93f6f9654a81b66c4 added another
directory one level down from those immediately under t/.
Diffstat (limited to 't')
-rwxr-xr-x | t/TEST | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ sub _find_files { opendir DIR, $dir or die "Trouble opening $dir: $!"; foreach my $f (sort { $a cmp $b } readdir DIR) { next if $skip{$f}; - + $dir =~ s/(?<!\^)\.dir(;1)?$//i if $is_vms; # trim .DIR extension my $fullpath = "$dir/$f"; if (-d $fullpath) { _find_files($patt, $fullpath); |