X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746sybase.t;h=74587afef7f113f5a1d6252e929637720c7fc6f9;hb=bb768302f9abecbd4a32090ba38d5938a009bd7b;hp=818ed26a9f2f02810ae78ac3e4efbe490e6de2c5;hpb=c0329273268971824784f239f32c7246e68da9c5;p=dbsrgits%2FDBIx-Class.git diff --git a/t/746sybase.t b/t/746sybase.t index 818ed26..74587af 100644 --- a/t/746sybase.t +++ b/t/746sybase.t @@ -5,6 +5,7 @@ use strict; use warnings; no warnings 'uninitialized'; +use Config; use Test::More; use Test::Exception; use DBIx::Class::_Util 'sigwarn_silencer'; @@ -627,6 +628,7 @@ if (Test::Builder->new->is_passing and $ENV{LC_ALL} and $ENV{LC_ALL} ne 'C') { local $ENV{DBICTEST_SYBASE_SUBTEST_RERUN} = 1; local $ENV{PATH}; + local $ENV{PERL5LIB} = join ($Config{path_sep}, @INC); my @cmd = map { $_ =~ /(.+)/ } ($^X, __FILE__); # this is cheating, and may even hang here and there (testing on windows passed fine)