~ubuntu-branches/ubuntu/quantal/libarchive/quantal

« back to all changes in this revision

Viewing changes to libarchive/test/test_read_format_iso_multi_extent.c

  • Committer: Package Import Robot
  • Author(s): Andres Mejia
  • Date: 2012-02-23 19:29:24 UTC
  • mfrom: (8.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120223192924-73n4iedok5fwgsyr
Tags: 3.0.3-5
* Detect if locales or locales-all is installed for use with test suite.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        struct archive *a;
34
34
        const void *p;
35
35
        size_t size;
36
 
        off_t offset;
 
36
        int64_t offset;
37
37
        int i;
38
38
 
39
39
        extract_reference_file(refname);
40
40
        assert((a = archive_read_new()) != NULL);
41
 
        assertEqualInt(0, archive_read_support_compression_all(a));
 
41
        assertEqualInt(0, archive_read_support_filter_all(a));
42
42
        assertEqualInt(0, archive_read_support_format_all(a));
43
43
        assertEqualInt(ARCHIVE_OK,
44
44
            archive_read_open_filename(a, refname, 10240));
87
87
        assertEqualInt(archive_format(a), ARCHIVE_FORMAT_ISO9660_ROCKRIDGE);
88
88
 
89
89
        /* Close the archive. */
90
 
        assertEqualInt(0, archive_read_close(a));
91
 
        assertEqualInt(0, archive_read_finish(a));
 
90
        assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a));
 
91
        assertEqualInt(ARCHIVE_OK, archive_read_free(a));
92
92
}
93
93
 
94
94