diff options
Diffstat (limited to 'libarchive/test/test_read_format_tz.c')
-rw-r--r-- | libarchive/test/test_read_format_tz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libarchive/test/test_read_format_tz.c b/libarchive/test/test_read_format_tz.c index 3a1dcec..60d8a4e 100644 --- a/libarchive/test/test_read_format_tz.c +++ b/libarchive/test/test_read_format_tz.c @@ -46,9 +46,9 @@ DEFINE_TEST(test_read_format_tz) archive_read_open_memory(a, archive, sizeof(archive))); assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); assertEqualInt(1, archive_file_count(a)); - failure("archive_compression_name(a)=\"%s\"", - archive_compression_name(a)); - assertEqualInt(archive_compression(a), ARCHIVE_COMPRESSION_COMPRESS); + failure("archive_filter_name(a, 0)=\"%s\"", + archive_filter_name(a, 0)); + assertEqualInt(archive_filter_code(a, 0), ARCHIVE_FILTER_COMPRESS); failure("archive_format_name(a)=\"%s\"", archive_format_name(a)); assertEqualInt(archive_format(a), ARCHIVE_FORMAT_TAR_USTAR); assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); |