summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/lib/DB.t
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/lib/DB.t')
-rw-r--r--gnu/usr.bin/perl/lib/DB.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/lib/DB.t b/gnu/usr.bin/perl/lib/DB.t
index e6fef9b887e..f665291fa2b 100644
--- a/gnu/usr.bin/perl/lib/DB.t
+++ b/gnu/usr.bin/perl/lib/DB.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+ require Config;
+ if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+ print "1..0 # Skip -- Perl configured without List::Util module\n";
+ exit 0;
+ }
}
# symbolic references used later