p4raw-id: //depot/perl@20945
BEGIN {
chdir 't';
-# @INC = '../lib';
+ @INC = '../lib';
+ eval 'use Fcntl';
+ if ($@ =~ /dynamic loading not available/) {
+ print "1..0 # Skip: no dynamic loading\n";
+ exit;
+ }
+ require Config; import Config;
+ if (($Config{'extensions'} !~ /\bSDBM_File\b/) && ($^O ne 'VMS')){
+ print "1..0 # Skip: no SDBM_File\n";
+ exit 0;
+ }
}
use Test;
@INC = '../lib';
require Config; import Config;
if (($Config{'extensions'} !~ /\bSDBM_File\b/) && ($^O ne 'VMS')){
- print "1..0\n";
+ print "1..0 # Skip: no SDBM_File\n";
exit 0;
}
}