aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/tests/Makefile')
-rw-r--r--lib/libarchive/tests/Makefile35
1 files changed, 34 insertions, 1 deletions
diff --git a/lib/libarchive/tests/Makefile b/lib/libarchive/tests/Makefile
index 2684d1661e57..b944b6e549f6 100644
--- a/lib/libarchive/tests/Makefile
+++ b/lib/libarchive/tests/Makefile
@@ -17,6 +17,7 @@ PROGS+= libarchive_test
CFLAGS+= -I${.CURDIR} -I${.CURDIR:H} -I${.OBJDIR}
CFLAGS+= -I${_LIBARCHIVEDIR}/libarchive -I${_LIBARCHIVEDIR}/libarchive/test
CFLAGS+= -I${_LIBARCHIVEDIR}/test_utils
+CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
CFLAGS.test_utils.c+= -Wno-cast-align
@@ -38,11 +39,11 @@ TESTS_SRCS= \
test_archive_clear_error.c \
test_archive_cmdline.c \
test_archive_digest.c \
- test_archive_getdate.c \
test_archive_match_time.c \
test_archive_match_owner.c \
test_archive_match_path.c \
test_archive_pathmatch.c \
+ test_archive_parse_date.c \
test_archive_read.c \
test_archive_read_add_passphrase.c \
test_archive_read_close_twice.c \
@@ -72,6 +73,7 @@ TESTS_SRCS= \
test_compat_bzip2.c \
test_compat_cpio.c \
test_compat_gtar.c \
+ test_compat_gtar_large.c \
test_compat_gzip.c \
test_compat_lz4.c \
test_compat_lzip.c \
@@ -148,7 +150,9 @@ TESTS_SRCS= \
test_read_format_gtar_filename.c \
test_read_format_gtar_gz.c \
test_read_format_gtar_lzma.c \
+ test_read_format_gtar_redundant_L.c \
test_read_format_gtar_sparse.c \
+ test_read_format_gtar_sparse_length.c \
test_read_format_gtar_sparse_skip_entry.c \
test_read_format_huge_rpm.c \
test_read_format_iso_Z.c \
@@ -178,6 +182,7 @@ TESTS_SRCS= \
test_read_format_rar_encryption_partially.c \
test_read_format_rar_filter.c \
test_read_format_rar_invalid1.c \
+ test_read_format_rar_overflow.c \
test_read_format_raw.c \
test_read_format_tar.c \
test_read_format_tar_concatenated.c \
@@ -186,7 +191,10 @@ TESTS_SRCS= \
test_read_format_tar_empty_with_gnulabel.c \
test_read_format_tar_filename.c \
test_read_format_tar_invalid_pax_size.c \
+ test_read_format_tar_mac_metadata.c \
+ test_read_format_tar_pax_g_large.c \
test_read_format_tar_pax_large_attr.c \
+ test_read_format_tar_pax_negative_time.c \
test_read_format_tbz.c \
test_read_format_tgz.c \
test_read_format_tlz.c \
@@ -219,6 +227,7 @@ TESTS_SRCS= \
test_read_format_zip_with_invalid_traditional_eocd.c \
test_read_format_zip_zip64.c \
test_read_large.c \
+ test_read_pax_empty_val_no_nl.c \
test_read_pax_xattr_rht_security_selinux.c \
test_read_pax_xattr_schily.c \
test_read_pax_truncated.c \
@@ -287,6 +296,7 @@ TESTS_SRCS= \
test_write_format_mtree_classic_indent.c \
test_write_format_mtree_fflags.c \
test_write_format_mtree_no_separator.c \
+ test_write_format_mtree_preset_digests.c \
test_write_format_mtree_quoted_filename.c \
test_write_format_pax.c \
test_write_format_raw.c \
@@ -303,6 +313,9 @@ TESTS_SRCS= \
test_write_format_xar_empty.c \
test_write_format_zip.c \
test_write_format_zip_compression_store.c \
+ test_write_format_zip_compression_zstd.c \
+ test_write_format_zip_compression_bzip2.c \
+ test_write_format_zip_compression_lzmaxz.c \
test_write_format_zip_empty.c \
test_write_format_zip_empty_zip64.c \
test_write_format_zip_entry_size_unset.c \
@@ -450,6 +463,7 @@ ${PACKAGE}FILES+= test_read_format_7zip_bcj2_copy_2.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_copy_lzma.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_deflate.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_deflate_arm64.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_deflate_powerpc.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_lzma1_1.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_lzma1_2.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_lzma2_1.7z.uu
@@ -479,16 +493,24 @@ ${PACKAGE}FILES+= test_read_format_7zip_lzma1_lzma2.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_lzma2.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_lzma2_arm.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_lzma2_arm64.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_lzma2_powerpc.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_lzma2_riscv.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_lzma2_sparc.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_lzma2_powerpc.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_malformed.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_malformed2.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_packinfo_digests.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_ppmd.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_sfx_elf.elf.uu
+${PACKAGE}FILES+= test_read_format_7zip_sfx_modified_pe.exe.uu
+${PACKAGE}FILES+= test_read_format_7zip_sfx_pe.exe.uu
${PACKAGE}FILES+= test_read_format_7zip_solid_zstd.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_symbolic_name.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd_arm.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd_bcj.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd_nobcj.7z.uu
+${PACKAGE}FILES+= test_read_format_7zip_zstd_sparc.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_win_attrib.7z.uu
${PACKAGE}FILES+= test_read_format_ar.ar.uu
${PACKAGE}FILES+= test_read_format_cab_1.cab.uu
@@ -507,12 +529,14 @@ ${PACKAGE}FILES+= test_read_format_cpio_svr4_gzip_rpm.rpm.uu
${PACKAGE}FILES+= test_read_format_gtar_filename_cp866.tar.Z.uu
${PACKAGE}FILES+= test_read_format_gtar_filename_eucjp.tar.Z.uu
${PACKAGE}FILES+= test_read_format_gtar_filename_koi8r.tar.Z.uu
+${PACKAGE}FILES+= test_read_format_gtar_redundant_L.tar.Z.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_1_13.tar.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_1_17.tar.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_1_17_posix00.tar.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_1_17_posix01.tar.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_1_17_posix10.tar.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu
+${PACKAGE}FILES+= test_read_format_gtar_sparse_length.tar.Z.uu
${PACKAGE}FILES+= test_read_format_gtar_sparse_skip_entry.tar.Z.uu
${PACKAGE}FILES+= test_read_format_huge_rpm.rpm.uu
${PACKAGE}FILES+= test_read_format_iso.iso.Z.uu
@@ -553,6 +577,7 @@ ${PACKAGE}FILES+= test_read_format_rar_compress_normal.rar.uu
${PACKAGE}FILES+= test_read_format_rar_encryption_data.rar.uu
${PACKAGE}FILES+= test_read_format_rar_encryption_header.rar.uu
${PACKAGE}FILES+= test_read_format_rar_encryption_partially.rar.uu
+${PACKAGE}FILES+= test_read_format_rar_endarc_huge.rar.uu
${PACKAGE}FILES+= test_read_format_rar_filter.rar.uu
${PACKAGE}FILES+= test_read_format_rar_invalid1.rar.uu
${PACKAGE}FILES+= test_read_format_rar_multi_lzss_blocks.rar.uu
@@ -560,12 +585,15 @@ ${PACKAGE}FILES+= test_read_format_rar_multivolume.part0001.rar.uu
${PACKAGE}FILES+= test_read_format_rar_multivolume.part0002.rar.uu
${PACKAGE}FILES+= test_read_format_rar_multivolume.part0003.rar.uu
${PACKAGE}FILES+= test_read_format_rar_multivolume.part0004.rar.uu
+${PACKAGE}FILES+= test_read_format_rar_newsub_huge.rar.uu
${PACKAGE}FILES+= test_read_format_rar_noeof.rar.uu
+${PACKAGE}FILES+= test_read_format_rar_overflow.rar.uu
${PACKAGE}FILES+= test_read_format_rar_ppmd_lzss_conversion.rar.uu
${PACKAGE}FILES+= test_read_format_rar_ppmd_use_after_free.rar.uu
${PACKAGE}FILES+= test_read_format_rar_ppmd_use_after_free2.rar.uu
${PACKAGE}FILES+= test_read_format_rar_sfx.exe.uu
${PACKAGE}FILES+= test_read_format_rar_subblock.rar.uu
+${PACKAGE}FILES+= test_read_format_rar_symlink_huge.rar.uu
${PACKAGE}FILES+= test_read_format_rar_unicode.rar.uu
${PACKAGE}FILES+= test_read_format_rar_windows.rar.uu
${PACKAGE}FILES+= test_read_format_rar4_encrypted.rar.uu
@@ -630,11 +658,15 @@ ${PACKAGE}FILES+= test_read_format_tar_empty_with_gnulabel.tar.uu
${PACKAGE}FILES+= test_read_format_tar_empty_pax.tar.Z.uu
${PACKAGE}FILES+= test_read_format_tar_filename_koi8r.tar.Z.uu
${PACKAGE}FILES+= test_read_format_tar_invalid_pax_size.tar.uu
+${PACKAGE}FILES+= test_read_format_tar_mac_metadata_1.tar.uu
+${PACKAGE}FILES+= test_read_format_tar_pax_g_large.tar.uu
${PACKAGE}FILES+= test_read_format_tar_pax_large_attr.tar.Z.uu
+${PACKAGE}FILES+= test_read_format_tar_pax_negative_time.tar.uu
${PACKAGE}FILES+= test_read_format_ustar_filename_cp866.tar.Z.uu
${PACKAGE}FILES+= test_read_format_ustar_filename_eucjp.tar.Z.uu
${PACKAGE}FILES+= test_read_format_ustar_filename_koi8r.tar.Z.uu
${PACKAGE}FILES+= test_read_format_warc.warc.uu
+${PACKAGE}FILES+= test_read_format_warc_incomplete.warc.uu
${PACKAGE}FILES+= test_read_format_xar_doublelink.xar.uu
${PACKAGE}FILES+= test_read_format_xar_duplicate_filename_node.xar.uu
${PACKAGE}FILES+= test_read_format_zip.zip.uu
@@ -694,6 +726,7 @@ ${PACKAGE}FILES+= test_read_large_splitted_rar_ab.uu
${PACKAGE}FILES+= test_read_large_splitted_rar_ac.uu
${PACKAGE}FILES+= test_read_large_splitted_rar_ad.uu
${PACKAGE}FILES+= test_read_large_splitted_rar_ae.uu
+${PACKAGE}FILES+= test_read_pax_empty_val_no_nl.tar.uu
${PACKAGE}FILES+= test_read_pax_xattr_rht_security_selinux.tar.uu
${PACKAGE}FILES+= test_read_pax_xattr_schily.tar.uu
${PACKAGE}FILES+= test_read_splitted_rar_aa.uu