17 my $os = $non_unix{$^O} ? $^O : 'Unix';
20 plan skip_all => 'tests require Unix';
28 my $context = 'Catalyst';
30 my $config = Catalyst->config;
32 $config->{home} = '/home/sri/my-app/';
34 is( Catalyst::path_to( $context, 'foo' ), '/home/sri/my-app/foo', 'Unix path' );
36 $config->{home} = '/Users/sri/myapp/';
38 is( Catalyst::path_to( $context, 'foo', 'bar' ),
39 '/Users/sri/myapp/foo/bar', 'deep Unix path' );