diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-06 18:54:06 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-06 18:54:06 +0000 |
commit | 2f41957b6be2495812a293a55e64b2348f9b47f9 (patch) | |
tree | 5eaa8e7db6c0235f1506d1ed310d2da0798d113f /ext/DB_File | |
parent | 3ebf01372cf06407542ef8b2a7803d95d2819cd5 (diff) | |
download | perl-2f41957b6be2495812a293a55e64b2348f9b47f9.tar.gz |
Prettyprinting and version paranoia.
p4raw-id: //depot/perl@15770
Diffstat (limited to 'ext/DB_File')
-rwxr-xr-x | ext/DB_File/t/db-recno.t | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ext/DB_File/t/db-recno.t b/ext/DB_File/t/db-recno.t index bd7ba83652..cf67737860 100755 --- a/ext/DB_File/t/db-recno.t +++ b/ext/DB_File/t/db-recno.t @@ -97,12 +97,14 @@ sub bad_one # Some older versions of Berkeley DB version 1 will fail db-recno # tests 61, 63 and 65. EOM - if ($^O eq 'darwin') { - print STDERR <<EOM ; -# -# For example Mac OS X 10.1.3 (or earlier) has such an old -# version of Berkeley DB. + if ($^O eq 'darwin' + && $Config{db_version_major} == 1 + && $Config{db_version_minor} == 0 + && $Config{db_version_patch} == 0) { + print STDERR <<EOM ; # +# For example Mac OS X 10.1.3 (or earlier) has such an old +# version of Berkeley DB. EOM } |