diff options
author | Mark Murray <markm@FreeBSD.org> | 2002-03-16 20:14:30 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2002-03-16 20:14:30 +0000 |
commit | 535b847ca738d6461ab6779b64e475012eb0d44d (patch) | |
tree | 40ba760f36cd8e65b8c0a8caeaee00ceb84de622 /contrib/perl5/t/lib/anydbm.t | |
parent | 903163ac3e1724978a60a1c0b5ae2f9dcbadf59f (diff) | |
parent | fc75d0664419eb8c8f264d8f298df2cd155c8966 (diff) |
This commit was generated by cvs2svn to compensate for changes in r92442,
which included commits to RCS files with non-trunk default branches.
Notes
Notes:
svn path=/head/; revision=92443
Diffstat (limited to 'contrib/perl5/t/lib/anydbm.t')
-rwxr-xr-x | contrib/perl5/t/lib/anydbm.t | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/perl5/t/lib/anydbm.t b/contrib/perl5/t/lib/anydbm.t index e38c7e78604c..40c436628fed 100755 --- a/contrib/perl5/t/lib/anydbm.t +++ b/contrib/perl5/t/lib/anydbm.t @@ -4,10 +4,14 @@ BEGIN { chdir 't' if -d 't'; - unshift @INC, '../lib'; + @INC = '../lib'; + require Config; import Config; + if (($Config{'extensions'} !~ /\b(DB|[A-Z]DBM)_File\b/) ){ + print "1..0 # Skipping (no DB_File or [A-Z]DBM_File)\n"; + exit 0; + } } require AnyDBM_File; -#If Fcntl is not available, try 0x202 or 0x102 for O_RDWR|O_CREAT use Fcntl; print "1..12\n"; |