~ubuntu-branches/ubuntu/vivid/libarchive-zip-perl/vivid-proposed

« back to all changes in this revision

Viewing changes to t/02_main.t

  • Committer: Bazaar Package Importer
  • Author(s): Ernesto Hernández-Novich (USB)
  • Date: 2009-10-01 10:46:15 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091001104615-vc511ocslcznks94
Tags: 1.30-1
* New upstream release (Closes: 548963).
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
  field (source stanza); Homepage field (source stanza);
  ${misc:Depends} to Depends: field. Changed: Maintainer set to Debian
  Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> (was: Ben
  Burton <bab@debian.org>); Ben Burton <bab@debian.org> moved to
  Uploaders. Updated Standards-Version. Added myself in Uploaders.
  Added quilt to Build-Depends: field.
* debian/watch: use dist-based URL.
* debian/rules: delete /usr/lib/perl5 only if it exists.
* Added versioned dependencies on libcompress-raw-zlib-perl.
* Remove unneeded dependencies on libfile-which-perl.
* Added quilt patch to fix shebangs on example scripts (Closes: 543659).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/perl -w
 
1
#!/usr/bin/perl
2
2
 
3
3
# Main testing for Archive::Zip
4
4
 
5
5
use strict;
 
6
BEGIN {
 
7
        $|  = 1;
 
8
        $^W = 1;
 
9
}
 
10
 
6
11
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
7
12
use FileHandle;
8
13
use File::Path;
24
29
# Testing Utility Functions
25
30
 
26
31
#--------- check CRC
27
 
is(TESTSTRINGCRC, 0xac373f32, 'Testing CRC matches expected');
 
32
is( TESTSTRINGCRC, 0xac373f32, 'Testing CRC matches expected' );
28
33
 
29
34
# Bad times die
30
35
SCOPE: {