summaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_format_cpio_bin_Z.c
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2013-03-21 18:59:02 +0000
committermm <mm@FreeBSD.org>2013-03-21 18:59:02 +0000
commit366f42737cba40ceb2e83af8d17c61c0242703c5 (patch)
tree45c2c8840d99cc81725a3970fd3beee587313cf5 /libarchive/test/test_read_format_cpio_bin_Z.c
parente7b24010c4d2190a1465594620e629e469c522f8 (diff)
downloadFreeBSD-src-366f42737cba40ceb2e83af8d17c61c0242703c5.zip
FreeBSD-src-366f42737cba40ceb2e83af8d17c61c0242703c5.tar.gz
Update libarchive's vendor dist to version 3.1.2 from release branch.
Git branch: release Git commit: 19f23e191f9d3e1dd2a518735046100419965804 Obtained from: https://github.com/libarchive/libarchive.git
Diffstat (limited to 'libarchive/test/test_read_format_cpio_bin_Z.c')
-rw-r--r--libarchive/test/test_read_format_cpio_bin_Z.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/test/test_read_format_cpio_bin_Z.c b/libarchive/test/test_read_format_cpio_bin_Z.c
index e818a01..8aca71f 100644
--- a/libarchive/test/test_read_format_cpio_bin_Z.c
+++ b/libarchive/test/test_read_format_cpio_bin_Z.c
@@ -44,10 +44,10 @@ DEFINE_TEST(test_read_format_cpio_bin_Z)
archive_read_open_memory(a, archive, sizeof(archive)));
assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae));
assertEqualInt(1, archive_file_count(a));
- failure("archive_compression_name(a)=\"%s\"",
- archive_compression_name(a));
- assertEqualInt(archive_compression(a), ARCHIVE_COMPRESSION_COMPRESS);
- assertEqualString(archive_compression_name(a), "compress (.Z)");
+ failure("archive_filter_name(a, 0)=\"%s\"",
+ archive_filter_name(a, 0));
+ assertEqualInt(archive_filter_code(a, 0), ARCHIVE_FILTER_COMPRESS);
+ assertEqualString(archive_filter_name(a, 0), "compress (.Z)");
failure("archive_format_name(a)=\"%s\"",
archive_format_name(a));
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_CPIO_BIN_LE);
OpenPOWER on IntegriCloud