summaryrefslogtreecommitdiff
path: root/ext/IO_Compress_Zlib/t/102tied-zip.t
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2007-04-24 03:18:34 +0000
committerCraig A. Berry <craigberry@mac.com>2007-04-24 03:18:34 +0000
commit1e6aeec812b843a7ede56e2466b96a7284b7f423 (patch)
treedf44b9478e2bbf66164cf612bd2d2f2c62910fe8 /ext/IO_Compress_Zlib/t/102tied-zip.t
parent009d90df4e17a4157d8fe825678a18dc3e97d437 (diff)
downloadperl-1e6aeec812b843a7ede56e2466b96a7284b7f423.tar.gz
Reduce directory depth for IO::Compress modules.
p4raw-id: //depot/perl@31047
Diffstat (limited to 'ext/IO_Compress_Zlib/t/102tied-zip.t')
-rw-r--r--ext/IO_Compress_Zlib/t/102tied-zip.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/IO_Compress_Zlib/t/102tied-zip.t b/ext/IO_Compress_Zlib/t/102tied-zip.t
new file mode 100644
index 0000000000..04be98dc6f
--- /dev/null
+++ b/ext/IO_Compress_Zlib/t/102tied-zip.t
@@ -0,0 +1,21 @@
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = ("../lib", "lib/compress");
+ }
+}
+
+use lib qw(t t/compress);
+use strict;
+use warnings;
+
+use IO::Compress::Zip qw($ZipError) ;
+use IO::Uncompress::Unzip qw($UnzipError) ;
+
+sub identify
+{
+ 'IO::Compress::Zip';
+}
+
+require "tied.pl" ;
+run();