summaryrefslogtreecommitdiff
path: root/libarchive/test/test_write_compress_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_compress_program.c')
-rw-r--r--libarchive/test/test_write_compress_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_write_compress_program.c b/libarchive/test/test_write_compress_program.c
index 304f4051..ba005a68 100644
--- a/libarchive/test/test_write_compress_program.c
+++ b/libarchive/test/test_write_compress_program.c
@@ -80,8 +80,8 @@ DEFINE_TEST(test_write_compress_program)
*/
assert((a = archive_read_new()) != NULL);
assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a));
- assertEqualIntA(a, ARCHIVE_OK, archive_read_support_compression_all(a));
- r = archive_read_support_compression_gzip(a);
+ assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a));
+ r = archive_read_support_filter_gzip(a);
/* The compression_gzip() handler will fall back to gunzip
* automatically, but if we know gunzip isn't available, then
* skip the rest. */