diff options
Diffstat (limited to 'libarchive/test/test_archive_write_set_option.c')
-rw-r--r-- | libarchive/test/test_archive_write_set_option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_archive_write_set_option.c b/libarchive/test/test_archive_write_set_option.c index a7957ed..2778234 100644 --- a/libarchive/test/test_archive_write_set_option.c +++ b/libarchive/test/test_archive_write_set_option.c @@ -36,7 +36,7 @@ test(int pristine) int known_option_rv = pristine ? ARCHIVE_FAILED : ARCHIVE_OK; if (!pristine) { - archive_write_set_compression_gzip(a); + archive_write_add_filter_gzip(a); archive_write_set_format_iso9660(a); } @@ -59,7 +59,7 @@ test(int pristine) should(a, known_option_rv, NULL, "joliet", NULL); should(a, known_option_rv, NULL, "joliet", NULL); - archive_write_finish(a); + archive_write_free(a); } DEFINE_TEST(test_archive_write_set_option) |