From: Rafael Garcia-Suarez Date: Thu, 6 Oct 2005 13:23:20 +0000 (+0000) Subject: Move ZlibTestUtils.pm under t/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ecadccd45b827b7dab28b1089e2750d85f803c5;p=p5sagit%2Fp5-mst-13.2.git Move ZlibTestUtils.pm under t/ p4raw-id: //depot/perl@25705 --- diff --git a/MANIFEST b/MANIFEST index 4349638..aa068f2 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2218,7 +2218,6 @@ lib/vmsish.t Tests for vmsish.pm lib/warnings.pm For "use warnings" lib/warnings/register.pm For "use warnings::register" lib/warnings.t See if warning controls work -lib/ZlibTestUtils.pm Compress::Zlib locale.c locale-specific utility functions makeaperl.SH perl script that produces a new perl binary makedef.pl Create symbol export lists for linking @@ -2849,6 +2848,7 @@ t/lib/warnings/toke Tests for toke.c for warnings.t t/lib/warnings/universal Tests for universal.c for warnings.t t/lib/warnings/utf8 Tests for utf8.c for warnings.t t/lib/warnings/util Tests for util.c for warnings.t +t/lib/ZlibTestUtils.pm Compress::Zlib Todo.micro The Wishlist for microperl toke.c The tokener t/op/64bitint.t See if 64 bit integers work diff --git a/ext/Compress/Zlib/t/01version.t b/ext/Compress/Zlib/t/01version.t index 171793c..255d3aa 100644 --- a/ext/Compress/Zlib/t/01version.t +++ b/ext/Compress/Zlib/t/01version.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/02zlib.t b/ext/Compress/Zlib/t/02zlib.t index 7b34117..eda3f85 100644 --- a/ext/Compress/Zlib/t/02zlib.t +++ b/ext/Compress/Zlib/t/02zlib.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/03zlib-v1.t b/ext/Compress/Zlib/t/03zlib-v1.t index 2ad9a5b..8dea7df 100644 --- a/ext/Compress/Zlib/t/03zlib-v1.t +++ b/ext/Compress/Zlib/t/03zlib-v1.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/04def.t b/ext/Compress/Zlib/t/04def.t index e06e1da..aadba68 100644 --- a/ext/Compress/Zlib/t/04def.t +++ b/ext/Compress/Zlib/t/04def.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/05examples.t b/ext/Compress/Zlib/t/05examples.t index 560cb87..81c75a1 100644 --- a/ext/Compress/Zlib/t/05examples.t +++ b/ext/Compress/Zlib/t/05examples.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/06gzsetp.t b/ext/Compress/Zlib/t/06gzsetp.t index 6b09776..68dd0d1 100644 --- a/ext/Compress/Zlib/t/06gzsetp.t +++ b/ext/Compress/Zlib/t/06gzsetp.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/07bufsize.t b/ext/Compress/Zlib/t/07bufsize.t index 7b3537d..0c9b8fc 100644 --- a/ext/Compress/Zlib/t/07bufsize.t +++ b/ext/Compress/Zlib/t/07bufsize.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/08encoding.t b/ext/Compress/Zlib/t/08encoding.t index de94f4a..9eda40d 100644 --- a/ext/Compress/Zlib/t/08encoding.t +++ b/ext/Compress/Zlib/t/08encoding.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/09gziphdr.t b/ext/Compress/Zlib/t/09gziphdr.t index 3d117f9..9310e1f 100644 --- a/ext/Compress/Zlib/t/09gziphdr.t +++ b/ext/Compress/Zlib/t/09gziphdr.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/10defhdr.t b/ext/Compress/Zlib/t/10defhdr.t index 7f983b3..67b50d8 100644 --- a/ext/Compress/Zlib/t/10defhdr.t +++ b/ext/Compress/Zlib/t/10defhdr.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/11truncate.t b/ext/Compress/Zlib/t/11truncate.t index 7dbb438..afb65d3 100644 --- a/ext/Compress/Zlib/t/11truncate.t +++ b/ext/Compress/Zlib/t/11truncate.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/12any.t b/ext/Compress/Zlib/t/12any.t index 4a7eeab..2dc8c11 100644 --- a/ext/Compress/Zlib/t/12any.t +++ b/ext/Compress/Zlib/t/12any.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/13prime.t b/ext/Compress/Zlib/t/13prime.t index e2661bd..cb2233b 100644 --- a/ext/Compress/Zlib/t/13prime.t +++ b/ext/Compress/Zlib/t/13prime.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/14gzopen.t b/ext/Compress/Zlib/t/14gzopen.t index d79d9a0..56683b4 100644 --- a/ext/Compress/Zlib/t/14gzopen.t +++ b/ext/Compress/Zlib/t/14gzopen.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/15multi.t b/ext/Compress/Zlib/t/15multi.t index bf0983a..2cb6dec 100644 --- a/ext/Compress/Zlib/t/15multi.t +++ b/ext/Compress/Zlib/t/15multi.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/16oneshot.t b/ext/Compress/Zlib/t/16oneshot.t index 8b1c863..3310111 100644 --- a/ext/Compress/Zlib/t/16oneshot.t +++ b/ext/Compress/Zlib/t/16oneshot.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/17isize.t b/ext/Compress/Zlib/t/17isize.t index 50d7b6c..6882a84 100644 --- a/ext/Compress/Zlib/t/17isize.t +++ b/ext/Compress/Zlib/t/17isize.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/18lvalue.t b/ext/Compress/Zlib/t/18lvalue.t index ae0c0f4..04b7f68 100644 --- a/ext/Compress/Zlib/t/18lvalue.t +++ b/ext/Compress/Zlib/t/18lvalue.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/19destroy.t b/ext/Compress/Zlib/t/19destroy.t index 7d2487b..2b2d576 100644 --- a/ext/Compress/Zlib/t/19destroy.t +++ b/ext/Compress/Zlib/t/19destroy.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/20tied.t b/ext/Compress/Zlib/t/20tied.t index ded4edb..72d8d66 100644 --- a/ext/Compress/Zlib/t/20tied.t +++ b/ext/Compress/Zlib/t/20tied.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/21newtied.t b/ext/Compress/Zlib/t/21newtied.t index b23147e..3a416fa 100644 --- a/ext/Compress/Zlib/t/21newtied.t +++ b/ext/Compress/Zlib/t/21newtied.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/22merge.t b/ext/Compress/Zlib/t/22merge.t index 1a50f0b..45e18e9 100644 --- a/ext/Compress/Zlib/t/22merge.t +++ b/ext/Compress/Zlib/t/22merge.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/23misc.t b/ext/Compress/Zlib/t/23misc.t index b5220f2..a2e4b5e 100644 --- a/ext/Compress/Zlib/t/23misc.t +++ b/ext/Compress/Zlib/t/23misc.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/ext/Compress/Zlib/t/globmapper.t b/ext/Compress/Zlib/t/globmapper.t index db0a02d..93c6506 100644 --- a/ext/Compress/Zlib/t/globmapper.t +++ b/ext/Compress/Zlib/t/globmapper.t @@ -1,7 +1,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + @INC = ("../lib", "lib"); } } diff --git a/lib/ZlibTestUtils.pm b/t/lib/ZlibTestUtils.pm similarity index 100% rename from lib/ZlibTestUtils.pm rename to t/lib/ZlibTestUtils.pm