Add the original source packages to maemo, source lenny
[dh-make-perl] / dev / i386 / libio-compress-zlib-perl / libio-compress-zlib-perl-2.012 / t / 101truncate-deflate.t
diff --git a/dev/i386/libio-compress-zlib-perl/libio-compress-zlib-perl-2.012/t/101truncate-deflate.t b/dev/i386/libio-compress-zlib-perl/libio-compress-zlib-perl-2.012/t/101truncate-deflate.t
new file mode 100644 (file)
index 0000000..2ae2b31
--- /dev/null
@@ -0,0 +1,37 @@
+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 Test::More ;
+
+BEGIN {
+    # use Test::NoWarnings, if available
+    my $extra = 0 ;
+    $extra = 1
+        if eval { require Test::NoWarnings ;  import Test::NoWarnings; 1 };
+
+    plan tests => 734 + $extra;
+
+};
+
+
+#use Test::More skip_all => "not implemented yet";
+
+
+use IO::Compress::Deflate   qw($DeflateError) ;
+use IO::Uncompress::Inflate qw($InflateError) ;
+
+sub identify
+{
+    'IO::Compress::Deflate';
+}
+
+require "truncate.pl" ;
+run();