From 3e2e5e0538a0b48c731d2d7f1358fea89c03f9b2 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 28 Jul 2009 12:40:46 +0000 Subject: [PATCH] use code from lib insted of blib git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1256 07558da8-63fa-0310-ba24-9fe276d99e06 --- t/0-common.t | 2 +- t/0-load.t | 2 +- t/1-config.t | 2 +- t/1-validate-delimiters.t | 2 +- t/1-validate.t | 2 +- t/2-input-dbf.t | 2 +- t/2-input-ebsco.t | 2 +- t/2-input-excel.t | 2 +- t/2-input-gutenberg.t | 2 +- t/2-input-isi.t | 2 +- t/2-input-ovid.t | 2 +- t/2-input-pdf.t | 2 +- t/2-input-xml.t | 2 +- t/2-input.t | 2 +- t/2-parse.t | 2 +- t/3-normalize-isbn.t | 2 +- t/3-normalize-marc.t | 2 +- t/3-normalize.t | 2 +- t/4-store.t | 2 +- t/5-output-couchdb.t | 2 +- t/5-output-dbi.t | 2 +- t/5-output-excel.t | 2 +- t/5-output-jifty.t | 2 +- t/5-output-json.t | 2 +- t/5-output-kinosearch.t | 2 +- t/5-output-sorted.t | 2 +- t/5-output-swish.t | 2 +- t/5-output-tt.t | 2 +- t/5-output-webpacus.t | 2 +- t/5-output.t | 2 +- t/6-unit.t | 2 +- t/7-est.t | 2 +- t/pod-coverage.t | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/t/0-common.t b/t/0-common.t index da4f399..99e484b 100755 --- a/t/0-common.t +++ b/t/0-common.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 7; diff --git a/t/0-load.t b/t/0-load.t index fb70a3f..a253b36 100755 --- a/t/0-load.t +++ b/t/0-load.t @@ -3,7 +3,7 @@ use strict; use Test::More tests => 13; -use blib; +use lib 'lib'; use lib 'lib'; BEGIN { diff --git a/t/1-config.t b/t/1-config.t index 5cad917..914bcb5 100755 --- a/t/1-config.t +++ b/t/1-config.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 28; diff --git a/t/1-validate-delimiters.t b/t/1-validate-delimiters.t index 96b6b9e..780a157 100755 --- a/t/1-validate-delimiters.t +++ b/t/1-validate-delimiters.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 15; diff --git a/t/1-validate.t b/t/1-validate.t index 734d274..5c85050 100755 --- a/t/1-validate.t +++ b/t/1-validate.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 56; diff --git a/t/2-input-dbf.t b/t/2-input-dbf.t index 2bef47f..2d5226a 100755 --- a/t/2-input-dbf.t +++ b/t/2-input-dbf.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More; diff --git a/t/2-input-ebsco.t b/t/2-input-ebsco.t index e708165..f038243 100755 --- a/t/2-input-ebsco.t +++ b/t/2-input-ebsco.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 63; diff --git a/t/2-input-excel.t b/t/2-input-excel.t index eaced70..09f2314 100755 --- a/t/2-input-excel.t +++ b/t/2-input-excel.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 75; diff --git a/t/2-input-gutenberg.t b/t/2-input-gutenberg.t index 28ecdcd..857243d 100755 --- a/t/2-input-gutenberg.t +++ b/t/2-input-gutenberg.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 300; diff --git a/t/2-input-isi.t b/t/2-input-isi.t index 4dc3aca..c987749 100755 --- a/t/2-input-isi.t +++ b/t/2-input-isi.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 12; diff --git a/t/2-input-ovid.t b/t/2-input-ovid.t index b5e304f..afd2ccc 100755 --- a/t/2-input-ovid.t +++ b/t/2-input-ovid.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 48; diff --git a/t/2-input-pdf.t b/t/2-input-pdf.t index 84b5697..c09e241 100755 --- a/t/2-input-pdf.t +++ b/t/2-input-pdf.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More; diff --git a/t/2-input-xml.t b/t/2-input-xml.t index efba79e..ccc44f7 100755 --- a/t/2-input-xml.t +++ b/t/2-input-xml.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 24; diff --git a/t/2-input.t b/t/2-input.t index 1983bee..53ca2eb 100755 --- a/t/2-input.t +++ b/t/2-input.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 124; diff --git a/t/2-parse.t b/t/2-parse.t index 1c24231..23687c1 100755 --- a/t/2-parse.t +++ b/t/2-parse.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 60; diff --git a/t/3-normalize-isbn.t b/t/3-normalize-isbn.t index e66e71d..6e38d41 100755 --- a/t/3-normalize-isbn.t +++ b/t/3-normalize-isbn.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 4; diff --git a/t/3-normalize-marc.t b/t/3-normalize-marc.t index 4cf85cb..ea50575 100755 --- a/t/3-normalize-marc.t +++ b/t/3-normalize-marc.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 330; diff --git a/t/3-normalize.t b/t/3-normalize.t index 0eb6f2a..a0ebebe 100755 --- a/t/3-normalize.t +++ b/t/3-normalize.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 355; diff --git a/t/4-store.t b/t/4-store.t index 43629a0..5da1f6e 100755 --- a/t/4-store.t +++ b/t/4-store.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 38; diff --git a/t/5-output-couchdb.t b/t/5-output-couchdb.t index 196c9a4..0518644 100755 --- a/t/5-output-couchdb.t +++ b/t/5-output-couchdb.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 9; diff --git a/t/5-output-dbi.t b/t/5-output-dbi.t index 7c79fb8..b808aed 100755 --- a/t/5-output-dbi.t +++ b/t/5-output-dbi.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 6; diff --git a/t/5-output-excel.t b/t/5-output-excel.t index e6c8bb0..90ef843 100755 --- a/t/5-output-excel.t +++ b/t/5-output-excel.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 22; diff --git a/t/5-output-jifty.t b/t/5-output-jifty.t index aa8b0d4..a48ca12 100755 --- a/t/5-output-jifty.t +++ b/t/5-output-jifty.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 8; diff --git a/t/5-output-json.t b/t/5-output-json.t index 90e92ab..f53b2e5 100755 --- a/t/5-output-json.t +++ b/t/5-output-json.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 14; diff --git a/t/5-output-kinosearch.t b/t/5-output-kinosearch.t index 93754be..7f1618a 100755 --- a/t/5-output-kinosearch.t +++ b/t/5-output-kinosearch.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 35; diff --git a/t/5-output-sorted.t b/t/5-output-sorted.t index d9b2b61..4d8ee9e 100755 --- a/t/5-output-sorted.t +++ b/t/5-output-sorted.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 16; diff --git a/t/5-output-swish.t b/t/5-output-swish.t index f9e1bb9..2d3066c 100755 --- a/t/5-output-swish.t +++ b/t/5-output-swish.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 35; diff --git a/t/5-output-tt.t b/t/5-output-tt.t index a2b8d8a..5342e16 100755 --- a/t/5-output-tt.t +++ b/t/5-output-tt.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 5; diff --git a/t/5-output-webpacus.t b/t/5-output-webpacus.t index bc12cc5..3ef21e9 100755 --- a/t/5-output-webpacus.t +++ b/t/5-output-webpacus.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 11; diff --git a/t/5-output.t b/t/5-output.t index 7046c51..6ed5716 100755 --- a/t/5-output.t +++ b/t/5-output.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use Test::More tests => 8; diff --git a/t/6-unit.t b/t/6-unit.t index a9a6935..bc4b944 100755 --- a/t/6-unit.t +++ b/t/6-unit.t @@ -9,7 +9,7 @@ use File::Temp qw/tempdir/; use File::Slurp; use Data::Dump qw/dump/; use Time::HiRes qw/time/; -use blib; +use lib 'lib'; my $debug = shift @ARGV; diff --git a/t/7-est.t b/t/7-est.t index bc61623..2a74811 100755 --- a/t/7-est.t +++ b/t/7-est.t @@ -7,7 +7,7 @@ use Test::Exception; use Cwd qw/abs_path/; use File::Temp qw/tempdir/; use Data::Dump; -use blib; +use lib 'lib'; BEGIN { use_ok( 'WebPAC::Output::Estraier' ); diff --git a/t/pod-coverage.t b/t/pod-coverage.t index cebe435..48c9f69 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use Test::More; -use blib; +use lib 'lib'; eval "use Test::Pod::Coverage 1.04"; plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage [$@]" if ($@); -- 2.20.1