*BSD News Article 31167


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!eff!news.duke.edu!news-feed-1.peachnet.edu!umn.edu!newsdist.tc.umn.edu!uum1!newsserver!mark
From: mark@jupiter.aggregate.com (Mark P. Gooderum, Software Engineer)
Subject: Re: Perl[45] for FreeBSD 1.1 [GR]...?
Sender: usenet@newsserver.aggregate.com (Usenet News Administrative Account)
Message-ID: <MARK.94May31174920@jupiter.aggregate.com>
In-Reply-To: gavan@oryx.mth.uct.ac.za's message of 28 May 1994 21:43:50 GMT
Date: Tue, 31 May 1994 22:49:19 GMT
References: <2rvib0$sdp@hq.hq.af.mil> <JKH.94May26024328@morse.ilo.dec.com>
	<2s8dum$hjt@ucthpx.uct.ac.za>
Nntp-Posting-Host: jupiter.aggregate.com
Organization: Aggregate Computing, Inc.
Lines: 28


> Last time I looked, the perl that this builds fails one
> of the tests in the testsuite that comes with perl, something
> that tests dbm . has anyone fixed this?

This has been covered before...it isn't a bug in perl or in the OS, it
is a bug in the perl test.  The perl test assumes it knows the
filenames created by the dbm library.  The BSD 4.4 dbm lib used in 
Free/NetBSD creates only one file with a different name than either of the
files created by the original implementation.

The test in question merely does a dbm_open() and some bits and looks
for the file.  You can fix the test to look for the right filename but
this is broken anyways, IMHO...if the db routines pass their
functional tests, which they do, thats enough.  A perl (or any other
"application" test shouldn't assume anything about the db implementation.
--
Mark

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark P. Gooderum                           USSnail:  Aggregate Computing, Inc.
Software Engineer                                    300 So. Hiway 169 Ste 400
  "Working hard to be hardly working..."             Minneapolis, MN 55426
EMail:       mark@aggregate.com            Voice:    (612) 546-5579 
Interactive: mark@jupiter.aggregate.com    Fax:      (612) 546-9485
	     mark@sol.aggregate.com	   Sales/Sup:(800) 966-1666
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~