summaryrefslogtreecommitdiff
path: root/ext/Compress
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-10-05 21:03:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-10-05 21:03:29 +0000
commit16816334e212c70aca1836b4031924af481891ad (patch)
tree8a080ec4535abcf6e3413af067d9c7056567f6e8 /ext/Compress
parent2d169392e9b607b54c89d91376e422380d400486 (diff)
downloadperl-16816334e212c70aca1836b4031924af481891ad.tar.gz
Add test preambles to Compress::Zlib.
Remove 99pod.t, useless in the core p4raw-id: //depot/perl@25698
Diffstat (limited to 'ext/Compress')
-rw-r--r--ext/Compress/Zlib/t/01version.t6
-rw-r--r--ext/Compress/Zlib/t/02zlib.t6
-rw-r--r--ext/Compress/Zlib/t/03zlib-v1.t6
-rw-r--r--ext/Compress/Zlib/t/04def.t6
-rw-r--r--ext/Compress/Zlib/t/05examples.t6
-rw-r--r--ext/Compress/Zlib/t/06gzsetp.t6
-rw-r--r--ext/Compress/Zlib/t/07bufsize.t6
-rw-r--r--ext/Compress/Zlib/t/08encoding.t6
-rw-r--r--ext/Compress/Zlib/t/09gziphdr.t6
-rw-r--r--ext/Compress/Zlib/t/10defhdr.t6
-rw-r--r--ext/Compress/Zlib/t/11truncate.t6
-rw-r--r--ext/Compress/Zlib/t/12any.t6
-rw-r--r--ext/Compress/Zlib/t/13prime.t7
-rw-r--r--ext/Compress/Zlib/t/14gzopen.t6
-rw-r--r--ext/Compress/Zlib/t/15multi.t6
-rw-r--r--ext/Compress/Zlib/t/16oneshot.t6
-rw-r--r--ext/Compress/Zlib/t/17isize.t6
-rw-r--r--ext/Compress/Zlib/t/18lvalue.t6
-rw-r--r--ext/Compress/Zlib/t/19destroy.t6
-rw-r--r--ext/Compress/Zlib/t/20tied.t6
-rw-r--r--ext/Compress/Zlib/t/21newtied.t6
-rw-r--r--ext/Compress/Zlib/t/22merge.t6
-rw-r--r--ext/Compress/Zlib/t/23misc.t6
-rw-r--r--ext/Compress/Zlib/t/99pod.t9
-rw-r--r--ext/Compress/Zlib/t/globmapper.t6
25 files changed, 145 insertions, 9 deletions
diff --git a/ext/Compress/Zlib/t/01version.t b/ext/Compress/Zlib/t/01version.t
index bdb8a9ad23..f1accce4a7 100644
--- a/ext/Compress/Zlib/t/01version.t
+++ b/ext/Compress/Zlib/t/01version.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict ;
diff --git a/ext/Compress/Zlib/t/02zlib.t b/ext/Compress/Zlib/t/02zlib.t
index 530e221d27..032caf0163 100644
--- a/ext/Compress/Zlib/t/02zlib.t
+++ b/ext/Compress/Zlib/t/02zlib.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/03zlib-v1.t b/ext/Compress/Zlib/t/03zlib-v1.t
index a0950c24ab..de81966c72 100644
--- a/ext/Compress/Zlib/t/03zlib-v1.t
+++ b/ext/Compress/Zlib/t/03zlib-v1.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/04def.t b/ext/Compress/Zlib/t/04def.t
index b0416e8924..ff46f58594 100644
--- a/ext/Compress/Zlib/t/04def.t
+++ b/ext/Compress/Zlib/t/04def.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/05examples.t b/ext/Compress/Zlib/t/05examples.t
index 82b30d3fcf..8d96b9bfd8 100644
--- a/ext/Compress/Zlib/t/05examples.t
+++ b/ext/Compress/Zlib/t/05examples.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
diff --git a/ext/Compress/Zlib/t/06gzsetp.t b/ext/Compress/Zlib/t/06gzsetp.t
index 7506c5a770..1723da4d6f 100644
--- a/ext/Compress/Zlib/t/06gzsetp.t
+++ b/ext/Compress/Zlib/t/06gzsetp.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/07bufsize.t b/ext/Compress/Zlib/t/07bufsize.t
index 0670c06876..df518bfc01 100644
--- a/ext/Compress/Zlib/t/07bufsize.t
+++ b/ext/Compress/Zlib/t/07bufsize.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/08encoding.t b/ext/Compress/Zlib/t/08encoding.t
index 978212e807..1dab466b22 100644
--- a/ext/Compress/Zlib/t/08encoding.t
+++ b/ext/Compress/Zlib/t/08encoding.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/09gziphdr.t b/ext/Compress/Zlib/t/09gziphdr.t
index 8abb70acea..f71c8cf408 100644
--- a/ext/Compress/Zlib/t/09gziphdr.t
+++ b/ext/Compress/Zlib/t/09gziphdr.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/10defhdr.t b/ext/Compress/Zlib/t/10defhdr.t
index 9c109ec639..d75431c49e 100644
--- a/ext/Compress/Zlib/t/10defhdr.t
+++ b/ext/Compress/Zlib/t/10defhdr.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/11truncate.t b/ext/Compress/Zlib/t/11truncate.t
index a4e7fbefc9..5aa9ef0ed1 100644
--- a/ext/Compress/Zlib/t/11truncate.t
+++ b/ext/Compress/Zlib/t/11truncate.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/12any.t b/ext/Compress/Zlib/t/12any.t
index 7939358ad4..77cf60819c 100644
--- a/ext/Compress/Zlib/t/12any.t
+++ b/ext/Compress/Zlib/t/12any.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
diff --git a/ext/Compress/Zlib/t/13prime.t b/ext/Compress/Zlib/t/13prime.t
index bc8a09eacf..959a83d211 100644
--- a/ext/Compress/Zlib/t/13prime.t
+++ b/ext/Compress/Zlib/t/13prime.t
@@ -1,3 +1,10 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
+
use lib 't';
use strict;
use warnings;
diff --git a/ext/Compress/Zlib/t/14gzopen.t b/ext/Compress/Zlib/t/14gzopen.t
index b15c353f4b..ea30fd7ac0 100644
--- a/ext/Compress/Zlib/t/14gzopen.t
+++ b/ext/Compress/Zlib/t/14gzopen.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/15multi.t b/ext/Compress/Zlib/t/15multi.t
index fbbc64e36a..dee57ddea9 100644
--- a/ext/Compress/Zlib/t/15multi.t
+++ b/ext/Compress/Zlib/t/15multi.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/16oneshot.t b/ext/Compress/Zlib/t/16oneshot.t
index b08960a7ec..ad6a817a1f 100644
--- a/ext/Compress/Zlib/t/16oneshot.t
+++ b/ext/Compress/Zlib/t/16oneshot.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/17isize.t b/ext/Compress/Zlib/t/17isize.t
index 4241fe7341..ef7bb8bbf0 100644
--- a/ext/Compress/Zlib/t/17isize.t
+++ b/ext/Compress/Zlib/t/17isize.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict ;
diff --git a/ext/Compress/Zlib/t/18lvalue.t b/ext/Compress/Zlib/t/18lvalue.t
index 5f9e43db54..d63ffba53f 100644
--- a/ext/Compress/Zlib/t/18lvalue.t
+++ b/ext/Compress/Zlib/t/18lvalue.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/19destroy.t b/ext/Compress/Zlib/t/19destroy.t
index a2671f749a..c2d0361816 100644
--- a/ext/Compress/Zlib/t/19destroy.t
+++ b/ext/Compress/Zlib/t/19destroy.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/20tied.t b/ext/Compress/Zlib/t/20tied.t
index 7d708d123d..778075df44 100644
--- a/ext/Compress/Zlib/t/20tied.t
+++ b/ext/Compress/Zlib/t/20tied.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/21newtied.t b/ext/Compress/Zlib/t/21newtied.t
index 923878661e..bb9351643f 100644
--- a/ext/Compress/Zlib/t/21newtied.t
+++ b/ext/Compress/Zlib/t/21newtied.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/22merge.t b/ext/Compress/Zlib/t/22merge.t
index bdffaa39ee..07fa185839 100644
--- a/ext/Compress/Zlib/t/22merge.t
+++ b/ext/Compress/Zlib/t/22merge.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/23misc.t b/ext/Compress/Zlib/t/23misc.t
index f1619d8964..6e472a1c01 100644
--- a/ext/Compress/Zlib/t/23misc.t
+++ b/ext/Compress/Zlib/t/23misc.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict;
diff --git a/ext/Compress/Zlib/t/99pod.t b/ext/Compress/Zlib/t/99pod.t
deleted file mode 100644
index c86213fde2..0000000000
--- a/ext/Compress/Zlib/t/99pod.t
+++ /dev/null
@@ -1,9 +0,0 @@
-use lib 't';
-use Test::More;
-
-eval "use Test::Pod 1.00";
-
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-
-all_pod_files_ok();
-
diff --git a/ext/Compress/Zlib/t/globmapper.t b/ext/Compress/Zlib/t/globmapper.t
index 8d90e2514f..b30143ecf0 100644
--- a/ext/Compress/Zlib/t/globmapper.t
+++ b/ext/Compress/Zlib/t/globmapper.t
@@ -1,3 +1,9 @@
+BEGIN {
+ if ($ENV{PERL_CORE} {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ }
+}
use lib 't';
use strict ;