summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2013-03-25 20:06:16 +0000
committersthen <sthen@openbsd.org>2013-03-25 20:06:16 +0000
commit898184e3e61f9129feb5978fad5a8c6865f00b92 (patch)
tree56f32aefc1eed60b534611007c7856f82697a205 /gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t
parentPGSHIFT -> PAGE_SHIFT (diff)
downloadwireguard-openbsd-898184e3e61f9129feb5978fad5a8c6865f00b92.tar.xz
wireguard-openbsd-898184e3e61f9129feb5978fad5a8c6865f00b92.zip
import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myself
Diffstat (limited to 'gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t')
-rwxr-xr-xgnu/usr.bin/perl/cpan/DB_File/t/db-recno.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t b/gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t
index 365abfd5207..bd198dcf2ff 100755
--- a/gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t
+++ b/gnu/usr.bin/perl/cpan/DB_File/t/db-recno.t
@@ -1,11 +1,10 @@
#!./perl -w
-
-use warnings;
+
use strict;
use Config;
BEGIN {
- if($ENV{PERL_CORE}) {
+ if(-d "lib" && -f "TEST") {
if ($Config{'extensions'} !~ /\bDB_File\b/ ) {
print "1..0 # Skip: DB_File was not built\n";
exit 0;