Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 91769
Status: resolved
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: PLICEASE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/shell.t fails on cygwin
t/shell.t fails on cygwin. It is trying to call cmd and powershell with POSIX paths instead of a windows path. It may be possible to fix this with Cygwin::posix_to_win_path (see perlcygwin for details), but I am not sure it is worth the effort. This patch skips the tests for cmd and powershell on cygwin which I think is the correct thing to do. fs01% git diff diff --git a/t/shell.t b/t/shell.t index 5e05699..12d0f55 100644 --- a/t/shell.t +++ b/t/shell.t @@ -56,6 +56,8 @@ for my $shell ( my $name = $shell->{name}; next if @ARGV && !grep {$_ eq $name} @ARGV; + next + if $shell->{name} =~ /^(cmd|powershell)$/ && $^O eq 'cygwin'; $shell->{shell} = which($name) || next; $shell->{ext} ||= $name; $shell->{perl} ||= qq{"$^X"};
This appears to be fixed. I tested on cygwin tested in 2.000004.