From: Jarkko Hietaniemi Date: Wed, 16 May 2007 05:29:17 +0000 (+0300) Subject: DBM_Filter test: use std test preamble X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c3296b1214899d7f67cbb05396bc895d000b21a4;p=p5sagit%2Fp5-mst-13.2.git DBM_Filter test: use std test preamble Message-Id: <200705160229.l4G2THSE421947@kosh.hut.fi> p4raw-id: //depot/perl@31227 --- diff --git a/lib/DBM_Filter/t/01error.t b/lib/DBM_Filter/t/01error.t index e16d8d1..1aff972 100644 --- a/lib/DBM_Filter/t/01error.t +++ b/lib/DBM_Filter/t/01error.t @@ -1,9 +1,12 @@ - use strict; use warnings; use Carp; -use lib '.'; +BEGIN { + chdir 't' if -d 't'; + @INC = qw(. ../lib); +} + our $db ; {