DAT-TimTen
view release on metacpan or search on metacpan
t/DAT-TimTen.t view on Meta::CPAN
# and because it helps find more bugs (though debugging can be painful)
warn "\n$0 is running with DBI_AUTOPROXY enabled ($ENV{DBI_AUTOPROXY})\n"
unless $0 =~ /\bzv/; # don't warn for t/zvg_85gofer.t
}
# ensure subprocess (for pipeone and stream transport) will use the same modules as us, ie ./blib
local $ENV{PERL5LIB} = join $Config{path_sep}, @INC;
my %durations;
my $getcwd = getcwd();
my $username = eval { getpwuid($>) } || ''; # fails on windows
my $can_ssh = ($username && $username eq 'timbo' && -d '.svn'
&& system("sh -c 'echo > /dev/tcp/localhost/22' 2>/dev/null")==0
);
my $perl = "$^X -Mblib=$getcwd/blib"; # ensure sameperl and our blib (note two spaces)
my %trials = (
null => {},
pipeone => { perl=>$perl, timeout=>$timeout },
stream => { perl=>$perl, timeout=>$timeout },
stream_ssh => ($can_ssh)
( run in 0.767 second using v1.01-cache-2.11-cpan-8d75d55dd25 )