summaryrefslogtreecommitdiff
path: root/ext/GDBM_File/t
Commit message (Collapse)AuthorAgeFilesLines
* Move common code from ext/[GONS]DBM_File/t/[gons]dbm.t to t/lib/dbmt_common.plNicholas Clark2010-12-161-492/+3
| | | | This eliminates 1445 lines, ie almost 500 lines duplicated fourfold.
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by parameterising the class name.Nicholas Clark2010-12-161-21/+27
|
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t further.Nicholas Clark2010-12-161-8/+6
| | | | | | | | | Including Cross propagating some fixes: grep in void context warning (f84167b37281b9fd c57cf257e9e58200), but improve it by avoiding void context entirely, by actually testing the results :-) "cleaner close on tests, take 2", d1e4d418969ad3c5
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by using the same filename.Nicholas Clark2010-12-161-28/+32
| | | | | | | | | Choose the 1 dot form used by sdbm.t, to keep VMS happy. Also, propagate into ndbm.t the part of the test for 20001013.009 that cbc5248d01a71061 missed. Move the exist tests from f4b9d8806d76b352 earlier in sdbm.t, to increase consistency - the alternative attempts to have 2 DBM files open simultaneously, which ODBM_File doesn't support. (Implied TODO: add an explicit test for this to the other 3.)
* Tweak gdbm.t to use GDBM_WRITER instead of GDBM_WRCREAT when re-opening a file.Nicholas Clark2010-12-161-1/+1
| | | | | The analagous tests for [nos]dbm.t don't use |O_CREAT for this case. gdbm.t has been using GDBM_WRCREAT here since the file was added by Larry in 5.000
* Convert ext/GDBM_File/t/gdbm.t to Test::More.Nicholas Clark2010-12-151-101/+95
|
* Remove redundant use strict,warnings,?DBM_File from ext/?DBM_File/t/?dbm.t.Nicholas Clark2010-12-151-18/+0
|
* Make extensions in ext run their tests from the extension's own directory.Nicholas Clark2009-08-281-2/+0
| | | | | | | | | | | Inspired by, and in parts borrows from, Schwern's branch on github, but takes a slightly different approach in places. Not quite perfect yet - ext/File-Glob still runs from t, at least one FIXME needs fixing, and the changes to dual-life modules' tests need to be filtered back upstream, and possibly modified to suit their respective authors. But it works.
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Silence new warning grep in void context warning in various modules and test ↵Yves Orton2008-01-061-2/+2
| | | | | files, also silence a warning that came from a previous 'dev' version number bump. p4raw-id: //depot/perl@32883
* No more ext/*/*.t, move them all to ext/*/t.Jarkko Hietaniemi2003-07-281-0/+513
p4raw-id: //depot/perl@20269