summaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_write_format_ar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_format_ar.c')
-rw-r--r--libarchive/test/test_write_format_ar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libarchive/test/test_write_format_ar.c b/libarchive/test/test_write_format_ar.c
index 1c1b2a7..5db7587 100644
--- a/libarchive/test/test_write_format_ar.c
+++ b/libarchive/test/test_write_format_ar.c
@@ -98,9 +98,9 @@ DEFINE_TEST(test_write_format_ar)
archive_entry_free(ae);
assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a));
- assertEqualInt(archive_position_compressed(a),
- archive_position_uncompressed(a));
- assertEqualInt(used, archive_position_uncompressed(a));
+ assertEqualInt(archive_filter_bytes(a, -1),
+ archive_filter_bytes(a, 0));
+ assertEqualInt(used, archive_filter_bytes(a, 0));
assertEqualInt(ARCHIVE_OK, archive_write_free(a));
/*
OpenPOWER on IntegriCloud