Skip Menu |
 

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 33675
Status: resolved
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: melazyboy [...] gmail.com
Cc:
AdminCc:

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



Subject: failed test.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 385
Download (untitled) / with headers
text/plain 385b
as it currently stands this prevents clean installs of most everything on Win32, using the new 3.2701. use Test::More tests => 1; use File::Spec::Win32; my $wdir = 'C:/strawberry'; $wdir =~ s[:][]g; $wdir =~ /(.*)/; my $result = File::Spec::Win32->catfile('C:/cache', $1); ok( $result eq "C:\cache\C\strawberry", "Failed simple test got $result expected C:\cache\C\strawberry" ); 1;
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-14715-1204241682-106.33675-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: melazyboy [...] gmail.com
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 49
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-26271-1204553721-1753.33675-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: kwilliams [...] cpan.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 202
Download (untitled) / with headers
text/plain 202b
There's a mistake in your test, here: Show quoted text
> ok( $result eq "C:\cache\C\strawberry", ...
The first backslash is producing control-a, then the other two are ignored because they don't mean anything. -Ken
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-30531-1204777968-366.33675-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 129
Download (untitled) / with headers
text/plain 129b
I've applied a fix for this issue, though I still contend TT is being naughty by passing a bare $1 in function arguments. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.