X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746sybase.t;h=74587afef7f113f5a1d6252e929637720c7fc6f9;hb=616ca57f8cd27f475da275bbef986fdd42d4069f;hp=0b8406c5cee25251ed780ac82cc030fb7bd15e68;hpb=b8e92dac9f2f65895700dbd0d0606f75b900a8e0;p=dbsrgits%2FDBIx-Class.git diff --git a/t/746sybase.t b/t/746sybase.t index 0b8406c..74587af 100644 --- a/t/746sybase.t +++ b/t/746sybase.t @@ -1,14 +1,15 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } use DBIx::Class::Optional::Dependencies -skip_all_without => 'test_rdbms_ase'; use strict; use warnings; no warnings 'uninitialized'; +use Config; use Test::More; use Test::Exception; use DBIx::Class::_Util 'sigwarn_silencer'; -use lib qw(t/lib); use DBICTest; my @storage_types = ( @@ -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)