summaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_iso_Z.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_iso_Z.c')
-rw-r--r--libarchive/test/test_read_format_iso_Z.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/test/test_read_format_iso_Z.c b/libarchive/test/test_read_format_iso_Z.c
index 61b2abd..551e0cf 100644
--- a/libarchive/test/test_read_format_iso_Z.c
+++ b/libarchive/test/test_read_format_iso_Z.c
@@ -44,8 +44,8 @@ test1(void)
assertEqualIntA(a, ARCHIVE_OK,
archive_read_next_header(a, &ae));
assertEqualInt(1, archive_file_count(a));
- assertEqualInt(archive_compression(a),
- ARCHIVE_COMPRESSION_COMPRESS);
+ assertEqualInt(archive_filter_code(a, 0),
+ ARCHIVE_FILTER_COMPRESS);
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_ISO9660);
assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a));
assertEqualInt(ARCHIVE_OK, archive_read_free(a));
@@ -85,8 +85,8 @@ test2(void)
assertEqualIntA(a, ARCHIVE_EOF,
archive_read_next_header(a, &ae));
assertEqualInt(5, archive_file_count(a));
- assertEqualInt(archive_compression(a),
- ARCHIVE_COMPRESSION_COMPRESS);
+ assertEqualInt(archive_filter_code(a, 0),
+ ARCHIVE_FILTER_COMPRESS);
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_ISO9660);
assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a));
assertEqualInt(ARCHIVE_OK, archive_read_free(a));
OpenPOWER on IntegriCloud