Makefile revision 1.17
11.17Schristos# $NetBSD: Makefile,v 1.17 2026/01/30 18:34:19 christos Exp $
21.1Schristos
31.1SchristosNOMAN=
41.1Schristos
51.1Schristos.include <bsd.own.mk>
61.1SchristosLIBARCHIVE=${NETBSDSRCDIR}/external/bsd/libarchive/dist
71.1Schristos
81.1SchristosTESTSDIR=	${TESTSBASE}/lib/libarchive
91.1Schristos
101.1SchristosBINDIR=                 ${TESTSDIR}
111.1SchristosPROGS+=	h_libarchive
121.1SchristosTESTS_SH+=	t_libarchive
131.1Schristos
141.1SchristosCPPFLAGS+=-I${LIBARCHIVE}/test_utils -I${LIBARCHIVE}/libarchive -I.
151.1SchristosCPPFLAGS+=-I${LIBARCHIVE}/libarchive/test -I${LIBARCHIVE}/../include
161.1Schristos
171.1Schristos.PATH: ${LIBARCHIVE}/libarchive/test ${LIBARCHIVE}/test_utils
181.1Schristos
191.4SchristosDPADD+=	${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} \
201.4Schristos	${LIBCRYPTO} ${LIBPTHREAD}
211.16SriastradLDADD+=	-Wl,--push-state,-Bstatic,-larchive,--pop-state	# uses libarchive guts
221.16SriastradLDADD+=	-lexpat -lbz2 -llzma -lz -lcrypto -lpthread
231.1Schristos
241.15Sriastrad.include "${NETBSDSRCDIR}/external/bsd/zstd/Makefile.zstd"
251.15SriastradPROGDPLIBS+=	${ZSTDDPLIBS}	# needed by libarchive
261.15Sriastrad
271.17SchristosSRCS.h_libarchive+= test_main.c test_utils.c
281.17Schristos
291.17SchristosSRCS.h_libarchive+= \
301.1Schristosread_open_memory.c \
311.17Schristostest_7zip_filename_encoding.c \
321.1Schristostest_acl_nfs4.c \
331.1Schristostest_acl_pax.c \
341.1Schristostest_acl_platform_nfs4.c \
351.1Schristostest_acl_platform_posix1e.c \
361.1Schristostest_acl_posix1e.c \
371.1Schristostest_acl_text.c \
381.17Schristostest_ar_mode.c \
391.1Schristostest_archive_api_feature.c \
401.1Schristostest_archive_clear_error.c \
411.1Schristostest_archive_cmdline.c \
421.1Schristostest_archive_digest.c \
431.1Schristostest_archive_match_owner.c \
441.1Schristostest_archive_match_path.c \
451.1Schristostest_archive_match_time.c \
461.17Schristostest_archive_parse_date.c \
471.1Schristostest_archive_pathmatch.c \
481.17Schristostest_archive_read.c \
491.1Schristostest_archive_read_add_passphrase.c \
501.1Schristostest_archive_read_close_twice.c \
511.1Schristostest_archive_read_close_twice_open_fd.c \
521.1Schristostest_archive_read_close_twice_open_filename.c \
531.1Schristostest_archive_read_multiple_data_objects.c \
541.1Schristostest_archive_read_next_header_empty.c \
551.1Schristostest_archive_read_next_header_raw.c \
561.1Schristostest_archive_read_open2.c \
571.1Schristostest_archive_read_set_filter_option.c \
581.1Schristostest_archive_read_set_format_option.c \
591.1Schristostest_archive_read_set_option.c \
601.1Schristostest_archive_read_set_options.c \
611.1Schristostest_archive_read_support.c \
621.1Schristostest_archive_set_error.c \
631.1Schristostest_archive_string.c \
641.1Schristostest_archive_string_conversion.c \
651.1Schristostest_archive_write_add_filter_by_name.c \
661.1Schristostest_archive_write_set_filter_option.c \
671.1Schristostest_archive_write_set_format_by_name.c \
681.1Schristostest_archive_write_set_format_filter_by_ext.c \
691.1Schristostest_archive_write_set_format_option.c \
701.1Schristostest_archive_write_set_option.c \
711.1Schristostest_archive_write_set_options.c \
721.1Schristostest_archive_write_set_passphrase.c \
731.1Schristostest_bad_fd.c \
741.1Schristostest_compat_bzip2.c \
751.1Schristostest_compat_cpio.c \
761.1Schristostest_compat_gtar.c \
771.17Schristostest_compat_gtar_large.c \
781.1Schristostest_compat_gzip.c \
791.1Schristostest_compat_lz4.c \
801.1Schristostest_compat_lzip.c \
811.1Schristostest_compat_lzma.c \
821.1Schristostest_compat_lzop.c \
831.1Schristostest_compat_mac.c \
841.1Schristostest_compat_perl_archive_tar.c \
851.1Schristostest_compat_plexus_archiver_tar.c \
861.1Schristostest_compat_solaris_pax_sparse.c \
871.1Schristostest_compat_solaris_tar_acl.c \
881.1Schristostest_compat_star_acl.c \
891.17Schristostest_compat_tar_directory.c \
901.1Schristostest_compat_tar_hardlink.c \
911.1Schristostest_compat_uudecode.c \
921.1Schristostest_compat_uudecode_large.c \
931.1Schristostest_compat_xz.c \
941.1Schristostest_compat_zip.c \
951.1Schristostest_compat_zstd.c \
961.1Schristostest_empty_write.c \
971.1Schristostest_entry.c \
981.1Schristostest_entry_strmode.c \
991.1Schristostest_extattr_freebsd.c \
1001.1Schristostest_filter_count.c \
1011.1Schristostest_fuzz.c \
1021.1Schristostest_gnutar_filename_encoding.c \
1031.1Schristostest_link_resolver.c \
1041.1Schristostest_open_failure.c \
1051.1Schristostest_open_fd.c \
1061.1Schristostest_open_file.c \
1071.1Schristostest_open_filename.c \
1081.1Schristostest_pax_filename_encoding.c \
1091.17Schristostest_pax_xattr_header.c \
1101.1Schristostest_read_data_large.c \
1111.1Schristostest_read_disk.c \
1121.1Schristostest_read_disk_directory_traversals.c \
1131.1Schristostest_read_disk_entry_from_file.c \
1141.1Schristostest_read_extract.c \
1151.1Schristostest_read_file_nonexistent.c \
1161.1Schristostest_read_filter_compress.c \
1171.1Schristostest_read_filter_grzip.c \
1181.17Schristostest_read_filter_gzip_recursive.c \
1191.1Schristostest_read_filter_lrzip.c \
1201.1Schristostest_read_filter_lzop.c \
1211.1Schristostest_read_filter_lzop_multiple_parts.c \
1221.1Schristostest_read_filter_program.c \
1231.1Schristostest_read_filter_program_signature.c \
1241.1Schristostest_read_filter_uudecode.c \
1251.17Schristostest_read_filter_uudecode_raw.c \
1261.1Schristostest_read_format_7zip.c \
1271.1Schristostest_read_format_7zip_encryption_data.c \
1281.1Schristostest_read_format_7zip_encryption_header.c \
1291.1Schristostest_read_format_7zip_encryption_partially.c \
1301.17Schristostest_read_format_7zip_issue2765.c \
1311.1Schristostest_read_format_7zip_malformed.c \
1321.17Schristostest_read_format_7zip_packinfo_digests.c \
1331.1Schristostest_read_format_ar.c \
1341.1Schristostest_read_format_cab.c \
1351.1Schristostest_read_format_cab_filename.c \
1361.1Schristostest_read_format_cpio_afio.c \
1371.1Schristostest_read_format_cpio_bin.c \
1381.1Schristostest_read_format_cpio_bin_Z.c \
1391.1Schristostest_read_format_cpio_bin_be.c \
1401.1Schristostest_read_format_cpio_bin_bz2.c \
1411.1Schristostest_read_format_cpio_bin_gz.c \
1421.1Schristostest_read_format_cpio_bin_le.c \
1431.1Schristostest_read_format_cpio_bin_lzip.c \
1441.1Schristostest_read_format_cpio_bin_lzma.c \
1451.1Schristostest_read_format_cpio_bin_xz.c \
1461.1Schristostest_read_format_cpio_filename.c \
1471.1Schristostest_read_format_cpio_odc.c \
1481.1Schristostest_read_format_cpio_svr4_bzip2_rpm.c \
1491.1Schristostest_read_format_cpio_svr4_gzip.c \
1501.1Schristostest_read_format_cpio_svr4_gzip_rpm.c \
1511.1Schristostest_read_format_cpio_svr4c_Z.c \
1521.1Schristostest_read_format_empty.c \
1531.1Schristostest_read_format_gtar_filename.c \
1541.1Schristostest_read_format_gtar_gz.c \
1551.1Schristostest_read_format_gtar_lzma.c \
1561.17Schristostest_read_format_gtar_redundant_L.c \
1571.1Schristostest_read_format_gtar_sparse.c \
1581.17Schristostest_read_format_gtar_sparse_length.c \
1591.1Schristostest_read_format_gtar_sparse_skip_entry.c \
1601.17Schristostest_read_format_huge_rpm.c \
1611.1Schristostest_read_format_iso_Z.c \
1621.1Schristostest_read_format_iso_multi_extent.c \
1631.1Schristostest_read_format_iso_xorriso.c \
1641.1Schristostest_read_format_isojoliet_bz2.c \
1651.1Schristostest_read_format_isojoliet_long.c \
1661.1Schristostest_read_format_isojoliet_rr.c \
1671.1Schristostest_read_format_isojoliet_versioned.c \
1681.1Schristostest_read_format_isorr_bz2.c \
1691.1Schristostest_read_format_isorr_ce.c \
1701.1Schristostest_read_format_isorr_new_bz2.c \
1711.1Schristostest_read_format_isorr_rr_moved.c \
1721.1Schristostest_read_format_isozisofs_bz2.c \
1731.1Schristostest_read_format_lha.c \
1741.1Schristostest_read_format_lha_bugfix_0.c \
1751.1Schristostest_read_format_lha_filename.c \
1761.17Schristostest_read_format_lha_filename_utf16.c \
1771.1Schristostest_read_format_mtree.c \
1781.1Schristostest_read_format_mtree_crash747.c \
1791.1Schristostest_read_format_pax_bz2.c \
1801.1Schristostest_read_format_rar.c \
1811.1Schristostest_read_format_rar5.c \
1821.17Schristostest_read_format_rar_encryption.c \
1831.1Schristostest_read_format_rar_encryption_data.c \
1841.1Schristostest_read_format_rar_encryption_header.c \
1851.1Schristostest_read_format_rar_encryption_partially.c \
1861.17Schristostest_read_format_rar_filter.c \
1871.1Schristostest_read_format_rar_invalid1.c \
1881.17Schristostest_read_format_rar_overflow.c \
1891.1Schristostest_read_format_raw.c \
1901.1Schristostest_read_format_tar.c \
1911.17Schristostest_read_format_tar_V_negative_size.c \
1921.1Schristostest_read_format_tar_concatenated.c \
1931.1Schristostest_read_format_tar_empty_filename.c \
1941.1Schristostest_read_format_tar_empty_pax.c \
1951.1Schristostest_read_format_tar_empty_with_gnulabel.c \
1961.1Schristostest_read_format_tar_filename.c \
1971.17Schristostest_read_format_tar_invalid_pax_size.c \
1981.17Schristostest_read_format_tar_mac_metadata.c \
1991.17Schristostest_read_format_tar_pax_g_large.c \
2001.17Schristostest_read_format_tar_pax_large_attr.c \
2011.17Schristostest_read_format_tar_pax_negative_time.c \
2021.1Schristostest_read_format_tbz.c \
2031.1Schristostest_read_format_tgz.c \
2041.1Schristostest_read_format_tlz.c \
2051.1Schristostest_read_format_txz.c \
2061.1Schristostest_read_format_tz.c \
2071.1Schristostest_read_format_ustar_filename.c \
2081.1Schristostest_read_format_warc.c \
2091.1Schristostest_read_format_xar.c \
2101.17Schristostest_read_format_xar_doublelink.c \
2111.1Schristostest_read_format_zip.c \
2121.1Schristostest_read_format_zip_7075_utf8_paths.c \
2131.1Schristostest_read_format_zip_comment_stored.c \
2141.1Schristostest_read_format_zip_encryption_data.c \
2151.1Schristostest_read_format_zip_encryption_header.c \
2161.1Schristostest_read_format_zip_encryption_partially.c \
2171.1Schristostest_read_format_zip_extra_padding.c \
2181.1Schristostest_read_format_zip_filename.c \
2191.1Schristostest_read_format_zip_high_compression.c \
2201.1Schristostest_read_format_zip_jar.c \
2211.1Schristostest_read_format_zip_mac_metadata.c \
2221.1Schristostest_read_format_zip_malformed.c \
2231.1Schristostest_read_format_zip_msdos.c \
2241.1Schristostest_read_format_zip_nested.c \
2251.1Schristostest_read_format_zip_nofiletype.c \
2261.1Schristostest_read_format_zip_padded.c \
2271.1Schristostest_read_format_zip_sfx.c \
2281.1Schristostest_read_format_zip_traditional_encryption_data.c \
2291.1Schristostest_read_format_zip_winzip_aes.c \
2301.1Schristostest_read_format_zip_winzip_aes_large.c \
2311.1Schristostest_read_format_zip_with_invalid_traditional_eocd.c \
2321.1Schristostest_read_format_zip_zip64.c \
2331.1Schristostest_read_large.c \
2341.17Schristostest_read_pax_empty_val_no_nl.c \
2351.1Schristostest_read_pax_truncated.c \
2361.17Schristostest_read_pax_xattr_rht_security_selinux.c \
2371.17Schristostest_read_pax_xattr_schily.c \
2381.1Schristostest_read_position.c \
2391.1Schristostest_read_set_format.c \
2401.1Schristostest_read_too_many_filters.c \
2411.1Schristostest_read_truncated.c \
2421.1Schristostest_read_truncated_filter.c \
2431.17Schristostest_short_writes.c \
2441.1Schristostest_sparse_basic.c \
2451.1Schristostest_tar_filenames.c \
2461.1Schristostest_tar_large.c \
2471.1Schristostest_ustar_filename_encoding.c \
2481.1Schristostest_ustar_filenames.c \
2491.1Schristostest_warn_missing_hardlink_target.c \
2501.1Schristostest_write_disk.c \
2511.1Schristostest_write_disk_appledouble.c \
2521.1Schristostest_write_disk_failures.c \
2531.17Schristostest_write_disk_fixup.c \
2541.1Schristostest_write_disk_hardlink.c \
2551.1Schristostest_write_disk_hfs_compression.c \
2561.1Schristostest_write_disk_lookup.c \
2571.1Schristostest_write_disk_mac_metadata.c \
2581.1Schristostest_write_disk_no_hfs_compression.c \
2591.1Schristostest_write_disk_perms.c \
2601.1Schristostest_write_disk_secure.c \
2611.1Schristostest_write_disk_secure744.c \
2621.1Schristostest_write_disk_secure745.c \
2631.1Schristostest_write_disk_secure746.c \
2641.17Schristostest_write_disk_secure_noabsolutepaths.c \
2651.1Schristostest_write_disk_sparse.c \
2661.1Schristostest_write_disk_symlink.c \
2671.1Schristostest_write_disk_times.c \
2681.1Schristostest_write_filter_b64encode.c \
2691.1Schristostest_write_filter_bzip2.c \
2701.1Schristostest_write_filter_compress.c \
2711.1Schristostest_write_filter_gzip.c \
2721.1Schristostest_write_filter_gzip_timestamp.c \
2731.1Schristostest_write_filter_lrzip.c \
2741.1Schristostest_write_filter_lz4.c \
2751.1Schristostest_write_filter_lzip.c \
2761.1Schristostest_write_filter_lzma.c \
2771.1Schristostest_write_filter_lzop.c \
2781.1Schristostest_write_filter_program.c \
2791.1Schristostest_write_filter_uuencode.c \
2801.1Schristostest_write_filter_xz.c \
2811.1Schristostest_write_filter_zstd.c \
2821.1Schristostest_write_format_7zip.c \
2831.1Schristostest_write_format_7zip_empty.c \
2841.1Schristostest_write_format_7zip_large.c \
2851.1Schristostest_write_format_ar.c \
2861.1Schristostest_write_format_cpio.c \
2871.1Schristostest_write_format_cpio_empty.c \
2881.1Schristostest_write_format_cpio_newc.c \
2891.1Schristostest_write_format_cpio_odc.c \
2901.1Schristostest_write_format_gnutar.c \
2911.1Schristostest_write_format_gnutar_filenames.c \
2921.1Schristostest_write_format_iso9660.c \
2931.1Schristostest_write_format_iso9660_boot.c \
2941.1Schristostest_write_format_iso9660_empty.c \
2951.1Schristostest_write_format_iso9660_filename.c \
2961.1Schristostest_write_format_iso9660_zisofs.c \
2971.1Schristostest_write_format_mtree.c \
2981.1Schristostest_write_format_mtree_absolute_path.c \
2991.1Schristostest_write_format_mtree_classic.c \
3001.1Schristostest_write_format_mtree_classic_indent.c \
3011.1Schristostest_write_format_mtree_fflags.c \
3021.1Schristostest_write_format_mtree_no_separator.c \
3031.17Schristostest_write_format_mtree_preset_digests.c \
3041.1Schristostest_write_format_mtree_quoted_filename.c \
3051.1Schristostest_write_format_pax.c \
3061.1Schristostest_write_format_raw.c \
3071.1Schristostest_write_format_raw_b64.c \
3081.1Schristostest_write_format_shar_empty.c \
3091.1Schristostest_write_format_tar.c \
3101.1Schristostest_write_format_tar_empty.c \
3111.1Schristostest_write_format_tar_sparse.c \
3121.1Schristostest_write_format_tar_ustar.c \
3131.1Schristostest_write_format_tar_v7tar.c \
3141.1Schristostest_write_format_warc.c \
3151.1Schristostest_write_format_warc_empty.c \
3161.1Schristostest_write_format_xar.c \
3171.1Schristostest_write_format_xar_empty.c \
3181.1Schristostest_write_format_zip.c \
3191.17Schristostest_write_format_zip64_stream.c \
3201.17Schristostest_write_format_zip_compression_bzip2.c \
3211.17Schristostest_write_format_zip_compression_lzmaxz.c \
3221.1Schristostest_write_format_zip_compression_store.c \
3231.17Schristostest_write_format_zip_compression_zstd.c \
3241.1Schristostest_write_format_zip_empty.c \
3251.1Schristostest_write_format_zip_empty_zip64.c \
3261.17Schristostest_write_format_zip_entry_size_unset.c \
3271.1Schristostest_write_format_zip_file.c \
3281.1Schristostest_write_format_zip_file_zip64.c \
3291.1Schristostest_write_format_zip_large.c \
3301.17Schristostest_write_format_zip_stream.c \
3311.17Schristostest_write_format_zip_windows_path.c \
3321.1Schristostest_write_format_zip_zip64.c \
3331.1Schristostest_write_open_memory.c \
3341.1Schristostest_write_read_format_zip.c \
3351.1Schristostest_xattr_platform.c \
3361.17Schristostest_zip_filename_encoding.c 
3371.1Schristos
3381.1SchristosFILESDIR=       ${TESTSDIR}
3391.1SchristosFILES=\
3401.17Schristostest_acl_pax_nfs4.tar.uu \
3411.17Schristostest_acl_pax_posix1e.tar.uu \
3421.17Schristostest_archive_string_conversion.txt.Z.uu \
3431.17Schristostest_compat_bzip2_1.tbz.uu \
3441.17Schristostest_compat_bzip2_2.tbz.uu \
3451.17Schristostest_compat_cpio_1.cpio.uu \
3461.17Schristostest_compat_gtar_1.tar.uu \
3471.17Schristostest_compat_gtar_2.tar.uu \
3481.17Schristostest_compat_gzip_1.tgz.uu \
3491.17Schristostest_compat_gzip_2.tgz.uu \
3501.17Schristostest_compat_lz4_1.tar.lz4.uu \
3511.17Schristostest_compat_lz4_2.tar.lz4.uu \
3521.17Schristostest_compat_lz4_3.tar.lz4.uu \
3531.17Schristostest_compat_lz4_B4.tar.lz4.uu \
3541.17Schristostest_compat_lz4_B4BD.tar.lz4.uu \
3551.17Schristostest_compat_lz4_B4BDBX.tar.lz4.uu \
3561.17Schristostest_compat_lz4_B5.tar.lz4.uu \
3571.17Schristostest_compat_lz4_B5BD.tar.lz4.uu \
3581.17Schristostest_compat_lz4_B6.tar.lz4.uu \
3591.17Schristostest_compat_lz4_B6BD.tar.lz4.uu \
3601.17Schristostest_compat_lz4_B7.tar.lz4.uu \
3611.17Schristostest_compat_lz4_B7BD.tar.lz4.uu \
3621.17Schristostest_compat_lz4_skippable_frames_B4.tar.lz4.uu \
3631.17Schristostest_compat_lzip_1.tlz.uu \
3641.17Schristostest_compat_lzip_2.tlz.uu \
3651.17Schristostest_compat_lzip_3.lz.uu \
3661.17Schristostest_compat_lzip_4.tlz.uu \
3671.17Schristostest_compat_lzma_1.tlz.uu \
3681.17Schristostest_compat_lzma_2.tlz.uu \
3691.17Schristostest_compat_lzma_3.tlz.uu \
3701.17Schristostest_compat_lzop_1.tar.lzo.uu \
3711.17Schristostest_compat_lzop_2.tar.lzo.uu \
3721.17Schristostest_compat_lzop_3.tar.lzo.uu \
3731.17Schristostest_compat_mac-1.tar.Z.uu \
3741.17Schristostest_compat_mac-2.tar.Z.uu \
3751.17Schristostest_compat_perl_archive_tar.tar.uu \
3761.17Schristostest_compat_plexus_archiver_tar.tar.uu \
3771.17Schristostest_compat_solaris_pax_sparse_1.pax.Z.uu \
3781.17Schristostest_compat_solaris_pax_sparse_2.pax.Z.uu \
3791.17Schristostest_compat_solaris_tar_acl.tar.uu \
3801.17Schristostest_compat_star_acl_nfs4.tar.uu \
3811.17Schristostest_compat_star_acl_posix1e.tar.uu \
3821.17Schristostest_compat_tar_directory_1.tar.uu \
3831.17Schristostest_compat_tar_hardlink_1.tar.uu \
3841.17Schristostest_compat_uudecode_large.tar.Z.uu \
3851.17Schristostest_compat_xz_1.txz.uu \
3861.17Schristostest_compat_zip_1.zip.uu \
3871.17Schristostest_compat_zip_2.zip.uu \
3881.17Schristostest_compat_zip_3.zip.uu \
3891.17Schristostest_compat_zip_4.zip.uu \
3901.17Schristostest_compat_zip_5.zip.uu \
3911.17Schristostest_compat_zip_6.zip.uu \
3921.17Schristostest_compat_zip_7.xps.uu \
3931.17Schristostest_compat_zip_8.zip.uu \
3941.14Schristostest_compat_zstd_1.tar.zst.uu \
3951.14Schristostest_compat_zstd_2.tar.zst.uu \
3961.17Schristostest_fuzz.cab.uu \
3971.17Schristostest_fuzz.lzh.uu \
3981.17Schristostest_fuzz_1.iso.Z.uu \
3991.17Schristostest_pax_filename_encoding.tar.uu \
4001.17Schristostest_pax_xattr_header_all.tar.uu \
4011.17Schristostest_pax_xattr_header_libarchive.tar.uu \
4021.17Schristostest_pax_xattr_header_schily.tar.uu \
4031.17Schristostest_rar_multivolume_multiple_files.part1.rar.uu \
4041.17Schristostest_rar_multivolume_multiple_files.part2.rar.uu \
4051.17Schristostest_rar_multivolume_multiple_files.part3.rar.uu \
4061.17Schristostest_rar_multivolume_multiple_files.part4.rar.uu \
4071.17Schristostest_rar_multivolume_multiple_files.part5.rar.uu \
4081.17Schristostest_rar_multivolume_multiple_files.part6.rar.uu \
4091.17Schristostest_rar_multivolume_single_file.part1.rar.uu \
4101.17Schristostest_rar_multivolume_single_file.part2.rar.uu \
4111.17Schristostest_rar_multivolume_single_file.part3.rar.uu \
4121.17Schristostest_rar_multivolume_uncompressed_files.part01.rar.uu \
4131.17Schristostest_rar_multivolume_uncompressed_files.part02.rar.uu \
4141.17Schristostest_rar_multivolume_uncompressed_files.part03.rar.uu \
4151.17Schristostest_rar_multivolume_uncompressed_files.part04.rar.uu \
4161.17Schristostest_rar_multivolume_uncompressed_files.part05.rar.uu \
4171.17Schristostest_rar_multivolume_uncompressed_files.part06.rar.uu \
4181.17Schristostest_rar_multivolume_uncompressed_files.part07.rar.uu \
4191.17Schristostest_rar_multivolume_uncompressed_files.part08.rar.uu \
4201.17Schristostest_rar_multivolume_uncompressed_files.part09.rar.uu \
4211.17Schristostest_rar_multivolume_uncompressed_files.part10.rar.uu \
4221.17Schristostest_read_filter_grzip.tar.grz.uu \
4231.17Schristostest_read_filter_gzip_recursive.gz.uu \
4241.17Schristostest_read_filter_lrzip.tar.lrz.uu \
4251.17Schristostest_read_filter_lzop.tar.lzo.uu \
4261.17Schristostest_read_filter_lzop_multiple_parts.tar.lzo.uu \
4271.17Schristostest_read_filter_uudecode_base64_raw.uu \
4281.17Schristostest_read_filter_uudecode_raw.uu \
4291.17Schristostest_read_format_7zip_bcj2_bzip2.7z.uu \
4301.17Schristostest_read_format_7zip_bcj2_copy_1.7z.uu \
4311.17Schristostest_read_format_7zip_bcj2_copy_2.7z.uu \
4321.17Schristostest_read_format_7zip_bcj2_copy_lzma.7z.uu \
4331.17Schristostest_read_format_7zip_bcj2_deflate.7z.uu \
4341.17Schristostest_read_format_7zip_bcj2_lzma1_1.7z.uu \
4351.17Schristostest_read_format_7zip_bcj2_lzma1_2.7z.uu \
4361.17Schristostest_read_format_7zip_bcj2_lzma2_1.7z.uu \
4371.17Schristostest_read_format_7zip_bcj2_lzma2_2.7z.uu \
4381.17Schristostest_read_format_7zip_bcj_bzip2.7z.uu \
4391.17Schristostest_read_format_7zip_bcj_copy.7z.uu \
4401.17Schristostest_read_format_7zip_bcj_deflate.7z.uu \
4411.17Schristostest_read_format_7zip_bcj_lzma1.7z.uu \
4421.17Schristostest_read_format_7zip_bcj_lzma2.7z.uu \
4431.17Schristostest_read_format_7zip_bzip2.7z.uu \
4441.17Schristostest_read_format_7zip_copy.7z.uu \
4451.17Schristostest_read_format_7zip_copy_2.7z.uu \
4461.17Schristostest_read_format_7zip_deflate.7z.uu \
4471.17Schristostest_read_format_7zip_deflate_arm64.7z.uu \
4481.17Schristostest_read_format_7zip_deflate_powerpc.7z.uu \
4491.17Schristostest_read_format_7zip_delta4_lzma1.7z.uu \
4501.17Schristostest_read_format_7zip_delta4_lzma2.7z.uu \
4511.17Schristostest_read_format_7zip_delta_lzma1.7z.uu \
4521.17Schristostest_read_format_7zip_delta_lzma2.7z.uu \
4531.17Schristostest_read_format_7zip_empty_archive.7z.uu \
4541.17Schristostest_read_format_7zip_empty_file.7z.uu \
4551.17Schristostest_read_format_7zip_encryption.7z.uu \
4561.17Schristostest_read_format_7zip_encryption_header.7z.uu \
4571.17Schristostest_read_format_7zip_encryption_partially.7z.uu \
4581.13Schristostest_read_format_7zip_extract_second.7z.uu \
4591.17Schristostest_read_format_7zip_issue2765.7z.uu \
4601.17Schristostest_read_format_7zip_lzma1.7z.uu \
4611.17Schristostest_read_format_7zip_lzma1_2.7z.uu \
4621.17Schristostest_read_format_7zip_lzma1_lzma2.7z.uu \
4631.12Smartintest_read_format_7zip_lzma2.7z.uu \
4641.12Smartintest_read_format_7zip_lzma2_arm.7z.uu \
4651.17Schristostest_read_format_7zip_lzma2_arm64.7z.uu \
4661.17Schristostest_read_format_7zip_lzma2_powerpc.7z.uu \
4671.17Schristostest_read_format_7zip_lzma2_riscv.7z.uu \
4681.17Schristostest_read_format_7zip_lzma2_sparc.7z.uu \
4691.17Schristostest_read_format_7zip_malformed.7z.uu \
4701.17Schristostest_read_format_7zip_malformed2.7z.uu \
4711.17Schristostest_read_format_7zip_packinfo_digests.7z.uu \
4721.17Schristostest_read_format_7zip_ppmd.7z.uu \
4731.17Schristostest_read_format_7zip_sfx_elf.elf.uu \
4741.17Schristostest_read_format_7zip_sfx_modified_pe.exe.uu \
4751.17Schristostest_read_format_7zip_sfx_pe.exe.uu \
4761.14Schristostest_read_format_7zip_solid_zstd.7z.uu \
4771.17Schristostest_read_format_7zip_symbolic_name.7z.uu \
4781.12Smartintest_read_format_7zip_win_attrib.7z.uu \
4791.14Schristostest_read_format_7zip_zstd.7z.uu \
4801.14Schristostest_read_format_7zip_zstd_arm.7z.uu \
4811.14Schristostest_read_format_7zip_zstd_bcj.7z.uu \
4821.14Schristostest_read_format_7zip_zstd_nobcj.7z.uu \
4831.17Schristostest_read_format_7zip_zstd_sparc.7z.uu \
4841.17Schristostest_read_format_ar.ar.uu \
4851.17Schristostest_read_format_cab_1.cab.uu \
4861.17Schristostest_read_format_cab_2.cab.uu \
4871.17Schristostest_read_format_cab_3.cab.uu \
4881.17Schristostest_read_format_cab_filename_cp932.cab.uu \
4891.17Schristostest_read_format_cpio_bin_be.cpio.uu \
4901.17Schristostest_read_format_cpio_bin_le.cpio.uu \
4911.17Schristostest_read_format_cpio_filename_cp866.cpio.uu \
4921.17Schristostest_read_format_cpio_filename_eucjp.cpio.uu \
4931.17Schristostest_read_format_cpio_filename_koi8r.cpio.uu \
4941.17Schristostest_read_format_cpio_filename_utf8_jp.cpio.uu \
4951.17Schristostest_read_format_cpio_filename_utf8_ru.cpio.uu \
4961.17Schristostest_read_format_cpio_svr4_bzip2_rpm.rpm.uu \
4971.17Schristostest_read_format_cpio_svr4_gzip_rpm.rpm.uu \
4981.17Schristostest_read_format_gtar_filename_cp866.tar.Z.uu \
4991.17Schristostest_read_format_gtar_filename_eucjp.tar.Z.uu \
5001.17Schristostest_read_format_gtar_filename_koi8r.tar.Z.uu \
5011.17Schristostest_read_format_gtar_redundant_L.tar.Z.uu \
5021.17Schristostest_read_format_gtar_sparse_1_13.tar.uu \
5031.17Schristostest_read_format_gtar_sparse_1_17.tar.uu \
5041.17Schristostest_read_format_gtar_sparse_1_17_posix00.tar.uu \
5051.17Schristostest_read_format_gtar_sparse_1_17_posix01.tar.uu \
5061.17Schristostest_read_format_gtar_sparse_1_17_posix10.tar.uu \
5071.17Schristostest_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \
5081.17Schristostest_read_format_gtar_sparse_length.tar.Z.uu \
5091.17Schristostest_read_format_gtar_sparse_skip_entry.tar.Z.uu \
5101.17Schristostest_read_format_huge_rpm.rpm.uu \
5111.17Schristostest_read_format_iso.iso.Z.uu \
5121.17Schristostest_read_format_iso_2.iso.Z.uu \
5131.13Schristostest_read_format_iso_3.iso.Z.uu \
5141.17Schristostest_read_format_iso_joliet.iso.Z.uu \
5151.17Schristostest_read_format_iso_joliet_by_nero.iso.Z.uu \
5161.17Schristostest_read_format_iso_joliet_long.iso.Z.uu \
5171.17Schristostest_read_format_iso_joliet_rockridge.iso.Z.uu \
5181.17Schristostest_read_format_iso_multi_extent.iso.Z.uu \
5191.17Schristostest_read_format_iso_rockridge.iso.Z.uu \
5201.17Schristostest_read_format_iso_rockridge_ce.iso.Z.uu \
5211.17Schristostest_read_format_iso_rockridge_new.iso.Z.uu \
5221.17Schristostest_read_format_iso_rockridge_rr_moved.iso.Z.uu \
5231.17Schristostest_read_format_iso_xorriso.iso.Z.uu \
5241.17Schristostest_read_format_iso_zisofs.iso.Z.uu \
5251.17Schristostest_read_format_lha_bugfix_0.lzh.uu \
5261.17Schristostest_read_format_lha_filename_cp932.lzh.uu \
5271.17Schristostest_read_format_lha_filename_utf16.lzh.uu \
5281.17Schristostest_read_format_lha_header0.lzh.uu \
5291.17Schristostest_read_format_lha_header1.lzh.uu \
5301.17Schristostest_read_format_lha_header2.lzh.uu \
5311.17Schristostest_read_format_lha_header3.lzh.uu \
5321.17Schristostest_read_format_lha_lh0.lzh.uu \
5331.17Schristostest_read_format_lha_lh6.lzh.uu \
5341.17Schristostest_read_format_lha_lh7.lzh.uu \
5351.17Schristostest_read_format_lha_withjunk.lzh.uu \
5361.17Schristostest_read_format_mtree.mtree.uu \
5371.17Schristostest_read_format_mtree_crash747.mtree.bz2.uu \
5381.17Schristostest_read_format_mtree_nomagic.mtree.uu \
5391.17Schristostest_read_format_mtree_nomagic2.mtree.uu \
5401.17Schristostest_read_format_mtree_nomagic3.mtree.uu \
5411.17Schristostest_read_format_mtree_noprint.mtree.uu \
5421.17Schristostest_read_format_rar.rar.uu \
5431.17Schristostest_read_format_rar4_encrypted.rar.uu \
5441.17Schristostest_read_format_rar4_encrypted_filenames.rar.uu \
5451.17Schristostest_read_format_rar4_solid_encrypted.rar.uu \
5461.17Schristostest_read_format_rar4_solid_encrypted_filenames.rar.uu \
5471.17Schristostest_read_format_rar5_arm.rar.uu \
5481.12Smartintest_read_format_rar5_arm_filter_on_window_boundary.rar.uu \
5491.12Smartintest_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu \
5501.17Schristostest_read_format_rar5_blake2.rar.uu \
5511.12Smartintest_read_format_rar5_block_size_is_too_small.rar.uu \
5521.17Schristostest_read_format_rar5_compressed.rar.uu \
5531.13Schristostest_read_format_rar5_data_ready_pointer_leak.rar.uu \
5541.12Smartintest_read_format_rar5_decode_number_out_of_bounds_read.rar.uu \
5551.12Smartintest_read_format_rar5_different_solid_window_size.rar.uu \
5561.12Smartintest_read_format_rar5_different_window_size.rar.uu \
5571.12Smartintest_read_format_rar5_different_winsize_on_merge.rar.uu \
5581.17Schristostest_read_format_rar5_dirdata.rar.uu \
5591.17Schristostest_read_format_rar5_distance_overflow.rar.uu \
5601.17Schristostest_read_format_rar5_encrypted.rar.uu \
5611.17Schristostest_read_format_rar5_encrypted_filenames.rar.uu \
5621.17Schristostest_read_format_rar5_extra_field_version.rar.uu \
5631.17Schristostest_read_format_rar5_fileattr.rar.uu \
5641.17Schristostest_read_format_rar5_hardlink.rar.uu \
5651.17Schristostest_read_format_rar5_invalid_dict_reference.rar.uu \
5661.17Schristostest_read_format_rar5_invalid_hash_valid_htime_exfld.rar.uu \
5671.17Schristostest_read_format_rar5_leftshift1.rar.uu \
5681.17Schristostest_read_format_rar5_leftshift2.rar.uu \
5691.17Schristostest_read_format_rar5_multiarchive.part01.rar.uu \
5701.17Schristostest_read_format_rar5_multiarchive.part02.rar.uu \
5711.17Schristostest_read_format_rar5_multiarchive.part03.rar.uu \
5721.17Schristostest_read_format_rar5_multiarchive.part04.rar.uu \
5731.17Schristostest_read_format_rar5_multiarchive.part05.rar.uu \
5741.17Schristostest_read_format_rar5_multiarchive.part06.rar.uu \
5751.17Schristostest_read_format_rar5_multiarchive.part07.rar.uu \
5761.17Schristostest_read_format_rar5_multiarchive.part08.rar.uu \
5771.17Schristostest_read_format_rar5_multiarchive_solid.part01.rar.uu \
5781.17Schristostest_read_format_rar5_multiarchive_solid.part02.rar.uu \
5791.17Schristostest_read_format_rar5_multiarchive_solid.part03.rar.uu \
5801.17Schristostest_read_format_rar5_multiarchive_solid.part04.rar.uu \
5811.17Schristostest_read_format_rar5_multiple_files.rar.uu \
5821.17Schristostest_read_format_rar5_multiple_files_solid.rar.uu \
5831.17Schristostest_read_format_rar5_nonempty_dir_stream.rar.uu \
5841.17Schristostest_read_format_rar5_only_crypt_exfld.rar.uu \
5851.17Schristostest_read_format_rar5_owner.rar.uu \
5861.17Schristostest_read_format_rar5_readtables_overflow.rar.uu \
5871.12Smartintest_read_format_rar5_sfx.exe.uu \
5881.17Schristostest_read_format_rar5_solid.rar.uu \
5891.17Schristostest_read_format_rar5_solid_encrypted.rar.uu \
5901.17Schristostest_read_format_rar5_solid_encrypted_filenames.rar.uu \
5911.17Schristostest_read_format_rar5_stored.rar.uu \
5921.17Schristostest_read_format_rar5_stored_manyfiles.rar.uu \
5931.17Schristostest_read_format_rar5_symlink.rar.uu \
5941.17Schristostest_read_format_rar5_truncated_huff.rar.uu \
5951.17Schristostest_read_format_rar5_unicode.rar.uu \
5961.17Schristostest_read_format_rar5_unsupported_exfld.rar.uu \
5971.17Schristostest_read_format_rar5_win32.rar.uu \
5981.12Smartintest_read_format_rar5_window_buf_and_size_desync.rar.uu \
5991.17Schristostest_read_format_rar_binary_data.rar.uu \
6001.17Schristostest_read_format_rar_compress_best.rar.uu \
6011.17Schristostest_read_format_rar_compress_normal.rar.uu \
6021.17Schristostest_read_format_rar_encryption_data.rar.uu \
6031.17Schristostest_read_format_rar_encryption_header.rar.uu \
6041.17Schristostest_read_format_rar_encryption_partially.rar.uu \
6051.17Schristostest_read_format_rar_endarc_huge.rar.uu \
6061.17Schristostest_read_format_rar_filter.rar.uu \
6071.17Schristostest_read_format_rar_invalid1.rar.uu \
6081.17Schristostest_read_format_rar_multi_lzss_blocks.rar.uu \
6091.17Schristostest_read_format_rar_multivolume.part0001.rar.uu \
6101.17Schristostest_read_format_rar_multivolume.part0002.rar.uu \
6111.17Schristostest_read_format_rar_multivolume.part0003.rar.uu \
6121.17Schristostest_read_format_rar_multivolume.part0004.rar.uu \
6131.17Schristostest_read_format_rar_newsub_huge.rar.uu \
6141.17Schristostest_read_format_rar_noeof.rar.uu \
6151.17Schristostest_read_format_rar_overflow.rar.uu \
6161.17Schristostest_read_format_rar_ppmd_lzss_conversion.rar.uu \
6171.17Schristostest_read_format_rar_ppmd_use_after_free.rar.uu \
6181.12Smartintest_read_format_rar_ppmd_use_after_free2.rar.uu \
6191.17Schristostest_read_format_rar_sfx.exe.uu \
6201.17Schristostest_read_format_rar_subblock.rar.uu \
6211.17Schristostest_read_format_rar_symlink_huge.rar.uu \
6221.17Schristostest_read_format_rar_unicode.rar.uu \
6231.17Schristostest_read_format_rar_windows.rar.uu \
6241.17Schristostest_read_format_raw.bufr.uu \
6251.17Schristostest_read_format_raw.data.Z.uu \
6261.17Schristostest_read_format_raw.data.gz.uu \
6271.17Schristostest_read_format_raw.data.uu \
6281.17Schristostest_read_format_tar_V_negative_size.tar.uu \
6291.17Schristostest_read_format_tar_concatenated.tar.uu \
6301.17Schristostest_read_format_tar_empty_filename.tar.uu \
6311.17Schristostest_read_format_tar_empty_pax.tar.Z.uu \
6321.17Schristostest_read_format_tar_empty_with_gnulabel.tar.uu \
6331.17Schristostest_read_format_tar_filename_koi8r.tar.Z.uu \
6341.17Schristostest_read_format_tar_invalid_pax_size.tar.uu \
6351.17Schristostest_read_format_tar_mac_metadata_1.tar.uu \
6361.17Schristostest_read_format_tar_pax_g_large.tar.uu \
6371.17Schristostest_read_format_tar_pax_large_attr.tar.Z.uu \
6381.17Schristostest_read_format_tar_pax_negative_time.tar.uu \
6391.17Schristostest_read_format_ustar_filename_cp866.tar.Z.uu \
6401.17Schristostest_read_format_ustar_filename_eucjp.tar.Z.uu \
6411.17Schristostest_read_format_ustar_filename_koi8r.tar.Z.uu \
6421.17Schristostest_read_format_warc.warc.uu \
6431.17Schristostest_read_format_warc_incomplete.warc.uu \
6441.17Schristostest_read_format_xar_doublelink.xar.uu \
6451.13Schristostest_read_format_xar_duplicate_filename_node.xar.uu \
6461.17Schristostest_read_format_zip.zip.uu \
6471.17Schristostest_read_format_zip_7075_utf8_paths.zip.uu \
6481.12Smartintest_read_format_zip_7z_deflate.zip.uu \
6491.12Smartintest_read_format_zip_7z_lzma.zip.uu \
6501.17Schristostest_read_format_zip_bz2_hang.zip.uu \
6511.17Schristostest_read_format_zip_bzip2.zipx.uu \
6521.17Schristostest_read_format_zip_bzip2_multi.zipx.uu \
6531.17Schristostest_read_format_zip_comment_stored_1.zip.uu \
6541.17Schristostest_read_format_zip_comment_stored_2.zip.uu \
6551.17Schristostest_read_format_zip_encryption_data.zip.uu \
6561.17Schristostest_read_format_zip_encryption_header.zip.uu \
6571.17Schristostest_read_format_zip_encryption_partially.zip.uu \
6581.17Schristostest_read_format_zip_extra_padding.zip.uu \
6591.17Schristostest_read_format_zip_filename_cp866.zip.uu \
6601.17Schristostest_read_format_zip_filename_cp932.zip.uu \
6611.17Schristostest_read_format_zip_filename_koi8r.zip.uu \
6621.17Schristostest_read_format_zip_filename_utf8_jp.zip.uu \
6631.17Schristostest_read_format_zip_filename_utf8_ru.zip.uu \
6641.17Schristostest_read_format_zip_filename_utf8_ru2.zip.uu \
6651.17Schristostest_read_format_zip_high_compression.zip.uu \
6661.17Schristostest_read_format_zip_jar.jar.uu \
6671.17Schristostest_read_format_zip_length_at_end.zip.uu \
6681.17Schristostest_read_format_zip_lzma.zipx.uu \
6691.17Schristostest_read_format_zip_lzma_alone_leak.zipx.uu \
6701.17Schristostest_read_format_zip_lzma_multi.zipx.uu \
6711.12Smartintest_read_format_zip_lzma_stream_end.zipx.uu \
6721.17Schristostest_read_format_zip_mac_metadata.zip.uu \
6731.17Schristostest_read_format_zip_malformed1.zip.uu \
6741.17Schristostest_read_format_zip_msdos.zip.uu \
6751.17Schristostest_read_format_zip_nested.zip.uu \
6761.17Schristostest_read_format_zip_nofiletype.zip.uu \
6771.17Schristostest_read_format_zip_padded1.zip.uu \
6781.17Schristostest_read_format_zip_padded2.zip.uu \
6791.17Schristostest_read_format_zip_padded3.zip.uu \
6801.17Schristostest_read_format_zip_ppmd8.zipx.uu \
6811.17Schristostest_read_format_zip_ppmd8_crash_1.zipx.uu \
6821.17Schristostest_read_format_zip_ppmd8_crash_2.zipx.uu \
6831.17Schristostest_read_format_zip_ppmd8_multi.zipx.uu \
6841.17Schristostest_read_format_zip_sfx.uu \
6851.17Schristostest_read_format_zip_symlink.zip.uu \
6861.17Schristostest_read_format_zip_traditional_encryption_data.zip.uu \
6871.17Schristostest_read_format_zip_ux.zip.uu \
6881.17Schristostest_read_format_zip_winzip_aes128.zip.uu \
6891.17Schristostest_read_format_zip_winzip_aes256.zip.uu \
6901.17Schristostest_read_format_zip_winzip_aes256_large.zip.uu \
6911.17Schristostest_read_format_zip_winzip_aes256_stored.zip.uu \
6921.17Schristostest_read_format_zip_with_invalid_traditional_eocd.zip.uu \
6931.17Schristostest_read_format_zip_xz_multi.zipx.uu \
6941.17Schristostest_read_format_zip_zip64a.zip.uu \
6951.17Schristostest_read_format_zip_zip64b.zip.uu \
6961.14Schristostest_read_format_zip_zstd.zipx.uu \
6971.14Schristostest_read_format_zip_zstd_multi.zipx.uu \
6981.17Schristostest_read_large_splitted_rar_aa.uu \
6991.17Schristostest_read_large_splitted_rar_ab.uu \
7001.17Schristostest_read_large_splitted_rar_ac.uu \
7011.17Schristostest_read_large_splitted_rar_ad.uu \
7021.17Schristostest_read_large_splitted_rar_ae.uu \
7031.17Schristostest_read_pax_empty_val_no_nl.tar.uu \
7041.17Schristostest_read_pax_xattr_rht_security_selinux.tar.uu \
7051.17Schristostest_read_pax_xattr_schily.tar.uu \
7061.17Schristostest_read_splitted_rar_aa.uu \
7071.17Schristostest_read_splitted_rar_ab.uu \
7081.17Schristostest_read_splitted_rar_ac.uu \
7091.17Schristostest_read_splitted_rar_ad.uu \
7101.17Schristostest_read_too_many_filters.gz.uu \
7111.17Schristostest_splitted_rar_seek_support_aa.uu \
7121.17Schristostest_splitted_rar_seek_support_ab.uu \
7131.17Schristostest_splitted_rar_seek_support_ac.uu \
7141.17Schristostest_write_disk_appledouble.cpio.gz.uu \
7151.17Schristostest_write_disk_appledouble_zip.zip.uu \
7161.17Schristostest_write_disk_hfs_compression.tgz.uu \
7171.17Schristostest_write_disk_mac_metadata.tar.gz.uu \
7181.1Schristostest_write_disk_no_hfs_compression.tgz.uu
7191.1Schristos
7201.1Schristos.include <bsd.test.mk>
7211.1Schristos
7221.3Schristostest_main.o test_main.d: list.h
7231.1Schristos
7241.1SchristosCLEANFILES+=list.h
7251.1Schristos
7261.1Schristos# XXX: We skip the truncated filter tests because they are broken
7271.1Schristos# for built-in decompressors. The reason is that the output buffer
7281.1Schristos# size is 64K, the truncated files are < 64K and the built-in decompressors
7291.1Schristos# bail out instead of returning incomplete results.
7301.1Schristoslist.h: ${SRCS.h_libarchive} Makefile
7311.1Schristos	${TOOL_GREP} -h '^DEFINE_TEST(' ${.ALLSRC} | \
7321.1Schristos	    ${TOOL_GREP} -v _truncated_filter_ | \
7331.1Schristos	    ${TOOL_GREP} -v test_compat_pax_libarchive_2x > ${.TARGET}
7341.1Schristos
7351.6SlukemCOPTS.test_archive_string_conversion.c+=	${CC_WNO_STRINGOP_TRUNCATION}
7361.8SchristosCOPTS.test_main.c+=	${CC_WNO_STRINGOP_OVERFLOW}
7371.9SkreCOPTS.test_write_disk_secure.c+=	${CC_WNO_STRINGOP_OVERFLOW}
7381.1Schristos
739