10 use lib File::Spec->catdir('t', 'lib');
13 if( $^O eq 'MSWin32' ) {
16 plan skip_all => 'this is not win32';
22 my $cdir = getdcwd('C:');
25 my $ddir = getdcwd('D:');
29 # May not have a D: drive mounted
33 # Ensure compatibility with naughty versions of Template::Toolkit,
34 # which pass in a bare $1 as an argument
35 'Foo/strawberry' =~ /(.*)/;
36 my $result = File::Spec::Win32->catfile('C:/cache', $1);
37 is( $result, 'C:\cache\Foo\strawberry' );