diff options
Diffstat (limited to 'libarchive/test/test_read_format_iso_multi_extent.c')
-rw-r--r-- | libarchive/test/test_read_format_iso_multi_extent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/test/test_read_format_iso_multi_extent.c b/libarchive/test/test_read_format_iso_multi_extent.c index 3ec472d..2230d8e 100644 --- a/libarchive/test/test_read_format_iso_multi_extent.c +++ b/libarchive/test/test_read_format_iso_multi_extent.c @@ -33,12 +33,12 @@ DEFINE_TEST(test_read_format_iso_multi_extent) struct archive *a; const void *p; size_t size; - off_t offset; + int64_t offset; int i; extract_reference_file(refname); assert((a = archive_read_new()) != NULL); - assertEqualInt(0, archive_read_support_compression_all(a)); + assertEqualInt(0, archive_read_support_filter_all(a)); assertEqualInt(0, archive_read_support_format_all(a)); assertEqualInt(ARCHIVE_OK, archive_read_open_filename(a, refname, 10240)); @@ -87,8 +87,8 @@ DEFINE_TEST(test_read_format_iso_multi_extent) assertEqualInt(archive_format(a), ARCHIVE_FORMAT_ISO9660_ROCKRIDGE); /* Close the archive. */ - assertEqualInt(0, archive_read_close(a)); - assertEqualInt(0, archive_read_finish(a)); + assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); + assertEqualInt(ARCHIVE_OK, archive_read_free(a)); } |