From: Brian Cassidy Date: Wed, 7 May 2008 20:10:08 +0000 (+0000) Subject: Workaround for Win32 and c3_mro.t (RT #26452, tested by Kenichi Ishigaki) X-Git-Tag: 5.7099_04~81 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=2f4cd6f5131dedd5140723971561a931ab968353 Workaround for Win32 and c3_mro.t (RT #26452, tested by Kenichi Ishigaki) --- diff --git a/Changes b/Changes index 66ea77e..75648c8 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,7 @@ - POD fix, IO::FileHandle => IO::Handle (RT #35690) - Fix grammar on welcome page (RT #33236) - Fix for Path('0') handling (RT #29334) + - Workaround for Win32 and c3_mro.t (RT #26452, tested by Kenichi Ishigaki) 5.7012 2007-12-16 23:44:00 - Fix uri_for()'s and uri_with()'s handling of multibyte chars diff --git a/t/c3_mro.t b/t/c3_mro.t index 5d6b306..c731202 100644 --- a/t/c3_mro.t +++ b/t/c3_mro.t @@ -11,6 +11,10 @@ plan skip_all => "This test requires Class::C3" if $@; # Get a list of all Catalyst:: packages in blib via M::P::O my @cat_mods; { + # problem with @INC on win32, see: + # http://rt.cpan.org/Ticket/Display.html?id=26452 + if ($^O eq 'MSWin32') { require Win32; Win32::GetCwd(); } + local @INC = grep {/blib/} @INC; @cat_mods = ( 'Catalyst',