summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorchromatic <chromatic@wgz.org>2001-09-07 11:53:15 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-08 14:49:15 +0000
commit7a5004db7a578bd1778ed75b583dbcdbe0863220 (patch)
tree93714f1dbcc9251ca4f8d91841547306f5025e97 /lib
parent05f18d1e4fbffbbd3264b216e7ec3d0d12c172b7 (diff)
downloadperl-7a5004db7a578bd1778ed75b583dbcdbe0863220.tar.gz
Re: [PATCH MANIFEST, lib/ExtUtils/testlib.t] More Tests
Message-ID: <20010907235740.80566.qmail@onion.perl.org> p4raw-id: //depot/perl@11945
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/testlib.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/ExtUtils/testlib.t b/lib/ExtUtils/testlib.t
new file mode 100644
index 0000000000..e0ef990f99
--- /dev/null
+++ b/lib/ExtUtils/testlib.t
@@ -0,0 +1,16 @@
+#!./perl
+
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
+use Test::More tests => 3;
+
+my @blib_paths = grep { /blib/ } @INC;
+is( @blib_paths, 0, 'No blib dirs yet in @INC' );
+
+use_ok( 'ExtUtils::testlib' );
+
+@blib_paths = grep { /blib/ } @INC;
+is( @blib_paths, 2, 'ExtUtils::testlib added two @INC dirs!' );