From af6eb96880aaadaeb2bb694ddd7e6041ff474d18 Mon Sep 17 00:00:00 2001 From: Roman Neuhauser Date: Mon, 28 Mar 2011 19:18:10 -0400 Subject: tests use archive_read_support_filter_*() SVN-Revision: 3114 --- libarchive/test/test_read_format_tar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libarchive/test/test_read_format_tar.c') diff --git a/libarchive/test/test_read_format_tar.c b/libarchive/test/test_read_format_tar.c index a8200927..31e6ae30 100644 --- a/libarchive/test/test_read_format_tar.c +++ b/libarchive/test/test_read_format_tar.c @@ -66,7 +66,7 @@ static void verifyEmpty(void) struct archive *a; assert((a = archive_read_new()) != NULL); - assertA(0 == archive_read_support_compression_all(a)); + assertA(0 == archive_read_support_filter_all(a)); assertA(0 == archive_read_support_format_all(a)); assertA(0 == archive_read_open_memory(a, archiveEmpty, 512)); assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); @@ -433,7 +433,7 @@ static void verify(unsigned char *d, size_t s, memset(buff + s, 0, 2048); assert((a = archive_read_new()) != NULL); - assertA(0 == archive_read_support_compression_all(a)); + assertA(0 == archive_read_support_filter_all(a)); assertA(0 == archive_read_support_format_all(a)); assertA(0 == archive_read_open_memory(a, buff, s + 1024)); assertA(0 == archive_read_next_header(a, &ae)); -- cgit v1.2.1