From: Nicholas Clark Date: Wed, 5 Oct 2005 23:22:27 +0000 (+0000) Subject: Fix Compress::Zlib test boilerplate X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d695c1a14d338b327d73e0dc4ed611c5ff9a6de6;p=p5sagit%2Fp5-mst-13.2.git Fix Compress::Zlib test boilerplate p4raw-id: //depot/perl@25701 --- diff --git a/ext/Compress/Zlib/t/01version.t b/ext/Compress/Zlib/t/01version.t index f1accce..171793c 100644 --- a/ext/Compress/Zlib/t/01version.t +++ b/ext/Compress/Zlib/t/01version.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/02zlib.t b/ext/Compress/Zlib/t/02zlib.t index 032caf0..7b34117 100644 --- a/ext/Compress/Zlib/t/02zlib.t +++ b/ext/Compress/Zlib/t/02zlib.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/03zlib-v1.t b/ext/Compress/Zlib/t/03zlib-v1.t index de81966..2ad9a5b 100644 --- a/ext/Compress/Zlib/t/03zlib-v1.t +++ b/ext/Compress/Zlib/t/03zlib-v1.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/04def.t b/ext/Compress/Zlib/t/04def.t index ff46f58..e06e1da 100644 --- a/ext/Compress/Zlib/t/04def.t +++ b/ext/Compress/Zlib/t/04def.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/05examples.t b/ext/Compress/Zlib/t/05examples.t index 8d96b9b..560cb87 100644 --- a/ext/Compress/Zlib/t/05examples.t +++ b/ext/Compress/Zlib/t/05examples.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/06gzsetp.t b/ext/Compress/Zlib/t/06gzsetp.t index 1723da4..6b09776 100644 --- a/ext/Compress/Zlib/t/06gzsetp.t +++ b/ext/Compress/Zlib/t/06gzsetp.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/07bufsize.t b/ext/Compress/Zlib/t/07bufsize.t index df518bf..7b3537d 100644 --- a/ext/Compress/Zlib/t/07bufsize.t +++ b/ext/Compress/Zlib/t/07bufsize.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/08encoding.t b/ext/Compress/Zlib/t/08encoding.t index 1dab466..de94f4a 100644 --- a/ext/Compress/Zlib/t/08encoding.t +++ b/ext/Compress/Zlib/t/08encoding.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/09gziphdr.t b/ext/Compress/Zlib/t/09gziphdr.t index f71c8cf..3d117f9 100644 --- a/ext/Compress/Zlib/t/09gziphdr.t +++ b/ext/Compress/Zlib/t/09gziphdr.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/10defhdr.t b/ext/Compress/Zlib/t/10defhdr.t index d75431c..7f983b3 100644 --- a/ext/Compress/Zlib/t/10defhdr.t +++ b/ext/Compress/Zlib/t/10defhdr.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/11truncate.t b/ext/Compress/Zlib/t/11truncate.t index 5aa9ef0..7dbb438 100644 --- a/ext/Compress/Zlib/t/11truncate.t +++ b/ext/Compress/Zlib/t/11truncate.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/12any.t b/ext/Compress/Zlib/t/12any.t index 77cf608..4a7eeab 100644 --- a/ext/Compress/Zlib/t/12any.t +++ b/ext/Compress/Zlib/t/12any.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/13prime.t b/ext/Compress/Zlib/t/13prime.t index 959a83d..e2661bd 100644 --- a/ext/Compress/Zlib/t/13prime.t +++ b/ext/Compress/Zlib/t/13prime.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/14gzopen.t b/ext/Compress/Zlib/t/14gzopen.t index ea30fd7..d79d9a0 100644 --- a/ext/Compress/Zlib/t/14gzopen.t +++ b/ext/Compress/Zlib/t/14gzopen.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/15multi.t b/ext/Compress/Zlib/t/15multi.t index dee57dd..bf0983a 100644 --- a/ext/Compress/Zlib/t/15multi.t +++ b/ext/Compress/Zlib/t/15multi.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/16oneshot.t b/ext/Compress/Zlib/t/16oneshot.t index ad6a817..8b1c863 100644 --- a/ext/Compress/Zlib/t/16oneshot.t +++ b/ext/Compress/Zlib/t/16oneshot.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/17isize.t b/ext/Compress/Zlib/t/17isize.t index ef7bb8b..50d7b6c 100644 --- a/ext/Compress/Zlib/t/17isize.t +++ b/ext/Compress/Zlib/t/17isize.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/18lvalue.t b/ext/Compress/Zlib/t/18lvalue.t index d63ffba..ae0c0f4 100644 --- a/ext/Compress/Zlib/t/18lvalue.t +++ b/ext/Compress/Zlib/t/18lvalue.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/19destroy.t b/ext/Compress/Zlib/t/19destroy.t index c2d0361..7d2487b 100644 --- a/ext/Compress/Zlib/t/19destroy.t +++ b/ext/Compress/Zlib/t/19destroy.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/20tied.t b/ext/Compress/Zlib/t/20tied.t index 778075d..ded4edb 100644 --- a/ext/Compress/Zlib/t/20tied.t +++ b/ext/Compress/Zlib/t/20tied.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/21newtied.t b/ext/Compress/Zlib/t/21newtied.t index bb93516..b23147e 100644 --- a/ext/Compress/Zlib/t/21newtied.t +++ b/ext/Compress/Zlib/t/21newtied.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/22merge.t b/ext/Compress/Zlib/t/22merge.t index 07fa185..1a50f0b 100644 --- a/ext/Compress/Zlib/t/22merge.t +++ b/ext/Compress/Zlib/t/22merge.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/23misc.t b/ext/Compress/Zlib/t/23misc.t index 6e472a1..b5220f2 100644 --- a/ext/Compress/Zlib/t/23misc.t +++ b/ext/Compress/Zlib/t/23misc.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; } diff --git a/ext/Compress/Zlib/t/globmapper.t b/ext/Compress/Zlib/t/globmapper.t index b30143e..db0a02d 100644 --- a/ext/Compress/Zlib/t/globmapper.t +++ b/ext/Compress/Zlib/t/globmapper.t @@ -1,5 +1,5 @@ BEGIN { - if ($ENV{PERL_CORE} { + if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; @INC = '../lib'; }