diff options
Diffstat (limited to 'contrib/libarchive/libarchive/test/test_read_format_tgz.c')
-rw-r--r-- | contrib/libarchive/libarchive/test/test_read_format_tgz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libarchive/libarchive/test/test_read_format_tgz.c b/contrib/libarchive/libarchive/test/test_read_format_tgz.c index f73ef30..bf19a47 100644 --- a/contrib/libarchive/libarchive/test/test_read_format_tgz.c +++ b/contrib/libarchive/libarchive/test/test_read_format_tgz.c @@ -51,8 +51,8 @@ DEFINE_TEST(test_read_format_tgz) archive_read_open_memory(a, archive, sizeof(archive))); assertEqualInt(ARCHIVE_OK, archive_read_next_header(a, &ae)); assertEqualInt(1, archive_file_count(a)); - assertEqualInt(archive_compression(a), - ARCHIVE_COMPRESSION_GZIP); + assertEqualInt(archive_filter_code(a, 0), + ARCHIVE_FILTER_GZIP); assertEqualInt(archive_format(a), ARCHIVE_FORMAT_TAR_USTAR); assertEqualInt(ARCHIVE_OK, archive_read_close(a)); assertEqualInt(ARCHIVE_OK,archive_read_free(a)); |