summaryrefslogtreecommitdiff
path: root/ext/Compress/Zlib/t/19destroy-rawdeflate.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Compress/Zlib/t/19destroy-rawdeflate.t')
-rw-r--r--ext/Compress/Zlib/t/19destroy-rawdeflate.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/Compress/Zlib/t/19destroy-rawdeflate.t b/ext/Compress/Zlib/t/19destroy-rawdeflate.t
new file mode 100644
index 0000000000..3fb3dc4ded
--- /dev/null
+++ b/ext/Compress/Zlib/t/19destroy-rawdeflate.t
@@ -0,0 +1,21 @@
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = ("../lib", "lib/compress");
+ }
+}
+
+use lib 't';
+use strict;
+use warnings;
+
+use IO::Compress::RawDeflate qw($RawDeflateError) ;
+use IO::Uncompress::RawInflate qw($RawInflateError) ;
+
+sub identify
+{
+ 'IO::Compress::RawDeflate';
+}
+
+require "destroy.pl" ;
+run();