summaryrefslogtreecommitdiff
path: root/t/lib/sdbm.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/sdbm.t')
-rwxr-xr-xt/lib/sdbm.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/lib/sdbm.t b/t/lib/sdbm.t
index 79d95f315f..1304be29b2 100755
--- a/t/lib/sdbm.t
+++ b/t/lib/sdbm.t
@@ -2,7 +2,14 @@
# $RCSfile: dbm.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:43 $
-BEGIN { @INC = '../lib' }
+BEGIN {
+ @INC = '../lib';
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bSDBM_File\b/) {
+ print STDERR "1..0\n";
+ exit 0;
+ }
+}
require SDBM_File;
print "1..12\n";