9 delete $ENV{CATALYST_HOME}; # otherwise it'll set itself up to the wrong place
11 use lib "$FindBin::Bin/../lib";
25 my $os = $non_unix{$^O} ? $^O : 'Unix';
27 if ( $os ne 'Unix' ) {
28 plan skip_all => 'tests require Unix';
33 my $context = 'TestApp';
36 isa_ok( $base = Catalyst::path_to( $context, '' ), 'Path::Class::Dir' );
38 my $config = Catalyst->config;
40 is( Catalyst::path_to( $context, 'foo' ), "$base/foo", 'Unix path' );
42 is( Catalyst::path_to( $context, 'foo', 'bar' ),
43 "$base/foo/bar", 'deep Unix path' );