File: 101truncate-lzma.t

package info (click to toggle)
libio-compress-lzma-perl 2.213-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 848 kB
  • sloc: perl: 7,361; makefile: 13
file content (38 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 => 912 + $extra;
    plan(skip_all => "Truncate not supported with Lzma");

};


#use Test::More skip_all => "not implemented yet";


use IO::Compress::Lzma   qw($LzmaError) ;
use IO::Uncompress::UnLzma qw($UnLzmaError) ;

sub identify
{
    'IO::Compress::Lzma';
}

require "truncate.pl" ;
run();