Home | History | Annotate | Line # | Download | only in libarchive
Makefile revision 1.12
      1  1.12    martin # $NetBSD: Makefile,v 1.12 2024/06/13 21:03:33 martin Exp $
      2   1.1  christos 
      3   1.1  christos NOMAN=
      4   1.1  christos 
      5   1.1  christos .include <bsd.own.mk>
      6   1.1  christos LIBARCHIVE=${NETBSDSRCDIR}/external/bsd/libarchive/dist
      7   1.1  christos 
      8   1.1  christos TESTSDIR=	${TESTSBASE}/lib/libarchive
      9   1.1  christos 
     10   1.1  christos BINDIR=                 ${TESTSDIR}
     11   1.1  christos PROGS+=	h_libarchive
     12   1.1  christos TESTS_SH+=	t_libarchive
     13   1.1  christos 
     14   1.1  christos CPPFLAGS+=-I${LIBARCHIVE}/test_utils -I${LIBARCHIVE}/libarchive -I.
     15   1.1  christos CPPFLAGS+=-I${LIBARCHIVE}/libarchive/test -I${LIBARCHIVE}/../include
     16   1.1  christos 
     17   1.1  christos .PATH: ${LIBARCHIVE}/libarchive/test ${LIBARCHIVE}/test_utils
     18   1.1  christos 
     19   1.4  christos DPADD+=	${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} \
     20   1.4  christos 	${LIBCRYPTO} ${LIBPTHREAD}
     21   1.4  christos LDADD+=	-larchive -lexpat -lbz2 -llzma -lz -lcrypto -lpthread
     22   1.1  christos 
     23   1.1  christos SRCS.h_libarchive= \
     24   1.1  christos test_main.c \
     25   1.1  christos test_utils.c \
     26   1.1  christos read_open_memory.c \
     27   1.1  christos test_acl_nfs4.c \
     28   1.1  christos test_acl_pax.c \
     29   1.1  christos test_acl_platform_nfs4.c \
     30   1.1  christos test_acl_platform_posix1e.c \
     31   1.1  christos test_acl_posix1e.c \
     32   1.1  christos test_acl_text.c \
     33   1.1  christos test_archive_api_feature.c \
     34   1.1  christos test_archive_clear_error.c \
     35   1.1  christos test_archive_cmdline.c \
     36   1.1  christos test_archive_digest.c \
     37   1.1  christos test_archive_getdate.c \
     38   1.1  christos test_archive_match_owner.c \
     39   1.1  christos test_archive_match_path.c \
     40   1.1  christos test_archive_match_time.c \
     41   1.1  christos test_archive_pathmatch.c \
     42   1.1  christos test_archive_read_add_passphrase.c \
     43   1.1  christos test_archive_read_close_twice.c \
     44   1.1  christos test_archive_read_close_twice_open_fd.c \
     45   1.1  christos test_archive_read_close_twice_open_filename.c \
     46   1.1  christos test_archive_read_multiple_data_objects.c \
     47   1.1  christos test_archive_read_next_header_empty.c \
     48   1.1  christos test_archive_read_next_header_raw.c \
     49   1.1  christos test_archive_read_open2.c \
     50   1.1  christos test_archive_read_set_filter_option.c \
     51   1.1  christos test_archive_read_set_format_option.c \
     52   1.1  christos test_archive_read_set_option.c \
     53   1.1  christos test_archive_read_set_options.c \
     54   1.1  christos test_archive_read_support.c \
     55   1.1  christos test_archive_set_error.c \
     56   1.1  christos test_archive_string.c \
     57   1.1  christos test_archive_string_conversion.c \
     58   1.1  christos test_archive_write_add_filter_by_name.c \
     59   1.1  christos test_archive_write_set_filter_option.c \
     60   1.1  christos test_archive_write_set_format_by_name.c \
     61   1.1  christos test_archive_write_set_format_filter_by_ext.c \
     62   1.1  christos test_archive_write_set_format_option.c \
     63   1.1  christos test_archive_write_set_option.c \
     64   1.1  christos test_archive_write_set_options.c \
     65   1.1  christos test_archive_write_set_passphrase.c \
     66   1.1  christos test_bad_fd.c \
     67   1.1  christos test_compat_bzip2.c \
     68   1.1  christos test_compat_cpio.c \
     69   1.1  christos test_compat_gtar.c \
     70   1.1  christos test_compat_gzip.c \
     71   1.1  christos test_compat_lz4.c \
     72   1.1  christos test_compat_lzip.c \
     73   1.1  christos test_compat_lzma.c \
     74   1.1  christos test_compat_lzop.c \
     75   1.1  christos test_compat_mac.c \
     76   1.1  christos test_compat_perl_archive_tar.c \
     77   1.1  christos test_compat_plexus_archiver_tar.c \
     78   1.1  christos test_compat_solaris_pax_sparse.c \
     79   1.1  christos test_compat_solaris_tar_acl.c \
     80   1.1  christos test_compat_star_acl.c \
     81   1.1  christos test_compat_tar_hardlink.c \
     82   1.1  christos test_compat_uudecode.c \
     83   1.1  christos test_compat_uudecode_large.c \
     84   1.1  christos test_compat_xz.c \
     85   1.1  christos test_compat_zip.c \
     86   1.1  christos test_compat_zstd.c \
     87   1.1  christos test_empty_write.c \
     88   1.1  christos test_entry.c \
     89   1.1  christos test_entry_strmode.c \
     90   1.1  christos test_extattr_freebsd.c \
     91   1.1  christos test_filter_count.c \
     92   1.1  christos test_fuzz.c \
     93   1.1  christos test_gnutar_filename_encoding.c \
     94   1.1  christos test_link_resolver.c \
     95   1.1  christos test_open_failure.c \
     96   1.1  christos test_open_fd.c \
     97   1.1  christos test_open_file.c \
     98   1.1  christos test_open_filename.c \
     99   1.1  christos test_pax_filename_encoding.c \
    100   1.1  christos test_read_data_large.c \
    101   1.1  christos test_read_disk.c \
    102   1.1  christos test_read_disk_directory_traversals.c \
    103   1.1  christos test_read_disk_entry_from_file.c \
    104   1.1  christos test_read_extract.c \
    105   1.1  christos test_read_file_nonexistent.c \
    106   1.1  christos test_read_filter_compress.c \
    107   1.1  christos test_read_filter_grzip.c \
    108   1.1  christos test_read_filter_lrzip.c \
    109   1.1  christos test_read_filter_lzop.c \
    110   1.1  christos test_read_filter_lzop_multiple_parts.c \
    111   1.1  christos test_read_filter_program.c \
    112   1.1  christos test_read_filter_program_signature.c \
    113   1.1  christos test_read_filter_uudecode.c \
    114   1.1  christos test_read_format_7zip.c \
    115   1.1  christos test_read_format_7zip_encryption_data.c \
    116   1.1  christos test_read_format_7zip_encryption_header.c \
    117   1.1  christos test_read_format_7zip_encryption_partially.c \
    118   1.1  christos test_read_format_7zip_malformed.c \
    119   1.1  christos test_read_format_ar.c \
    120   1.1  christos test_read_format_cab.c \
    121   1.1  christos test_read_format_cab_filename.c \
    122   1.1  christos test_read_format_cpio_afio.c \
    123   1.1  christos test_read_format_cpio_bin.c \
    124   1.1  christos test_read_format_cpio_bin_Z.c \
    125   1.1  christos test_read_format_cpio_bin_be.c \
    126   1.1  christos test_read_format_cpio_bin_bz2.c \
    127   1.1  christos test_read_format_cpio_bin_gz.c \
    128   1.1  christos test_read_format_cpio_bin_le.c \
    129   1.1  christos test_read_format_cpio_bin_lzip.c \
    130   1.1  christos test_read_format_cpio_bin_lzma.c \
    131   1.1  christos test_read_format_cpio_bin_xz.c \
    132   1.1  christos test_read_format_cpio_filename.c \
    133   1.1  christos test_read_format_cpio_odc.c \
    134   1.1  christos test_read_format_cpio_svr4_bzip2_rpm.c \
    135   1.1  christos test_read_format_cpio_svr4_gzip.c \
    136   1.1  christos test_read_format_cpio_svr4_gzip_rpm.c \
    137   1.1  christos test_read_format_cpio_svr4c_Z.c \
    138   1.1  christos test_read_format_empty.c \
    139   1.1  christos test_read_format_gtar_filename.c \
    140   1.1  christos test_read_format_gtar_gz.c \
    141   1.1  christos test_read_format_gtar_lzma.c \
    142   1.1  christos test_read_format_gtar_sparse.c \
    143   1.1  christos test_read_format_gtar_sparse_skip_entry.c \
    144   1.1  christos test_read_format_iso_Z.c \
    145   1.1  christos test_read_format_iso_multi_extent.c \
    146   1.1  christos test_read_format_iso_xorriso.c \
    147   1.1  christos test_read_format_isojoliet_bz2.c \
    148   1.1  christos test_read_format_isojoliet_long.c \
    149   1.1  christos test_read_format_isojoliet_rr.c \
    150   1.1  christos test_read_format_isojoliet_versioned.c \
    151   1.1  christos test_read_format_isorr_bz2.c \
    152   1.1  christos test_read_format_isorr_ce.c \
    153   1.1  christos test_read_format_isorr_new_bz2.c \
    154   1.1  christos test_read_format_isorr_rr_moved.c \
    155   1.1  christos test_read_format_isozisofs_bz2.c \
    156   1.1  christos test_read_format_lha.c \
    157   1.1  christos test_read_format_lha_bugfix_0.c \
    158   1.1  christos test_read_format_lha_filename.c \
    159   1.1  christos test_read_format_mtree.c \
    160   1.1  christos test_read_format_mtree_crash747.c \
    161   1.1  christos test_read_format_pax_bz2.c \
    162   1.1  christos test_read_format_rar.c \
    163   1.1  christos test_read_format_rar5.c \
    164   1.1  christos test_read_format_rar_encryption_data.c \
    165   1.1  christos test_read_format_rar_encryption_header.c \
    166   1.1  christos test_read_format_rar_encryption_partially.c \
    167   1.1  christos test_read_format_rar_invalid1.c \
    168   1.1  christos test_read_format_raw.c \
    169   1.1  christos test_read_format_tar.c \
    170   1.1  christos test_read_format_tar_concatenated.c \
    171   1.1  christos test_read_format_tar_empty_filename.c \
    172   1.1  christos test_read_format_tar_empty_pax.c \
    173   1.1  christos test_read_format_tar_empty_with_gnulabel.c \
    174   1.1  christos test_read_format_tar_filename.c \
    175   1.1  christos test_read_format_tbz.c \
    176   1.1  christos test_read_format_tgz.c \
    177   1.1  christos test_read_format_tlz.c \
    178   1.1  christos test_read_format_txz.c \
    179   1.1  christos test_read_format_tz.c \
    180   1.1  christos test_read_format_ustar_filename.c \
    181   1.1  christos test_read_format_warc.c \
    182   1.1  christos test_read_format_xar.c \
    183   1.1  christos test_read_format_zip.c \
    184   1.1  christos test_read_format_zip_7075_utf8_paths.c \
    185   1.1  christos test_read_format_zip_comment_stored.c \
    186   1.1  christos test_read_format_zip_encryption_data.c \
    187   1.1  christos test_read_format_zip_encryption_header.c \
    188   1.1  christos test_read_format_zip_encryption_partially.c \
    189   1.1  christos test_read_format_zip_extra_padding.c \
    190   1.1  christos test_read_format_zip_filename.c \
    191   1.1  christos test_read_format_zip_high_compression.c \
    192   1.1  christos test_read_format_zip_jar.c \
    193   1.1  christos test_read_format_zip_mac_metadata.c \
    194   1.1  christos test_read_format_zip_malformed.c \
    195   1.1  christos test_read_format_zip_msdos.c \
    196   1.1  christos test_read_format_zip_nested.c \
    197   1.1  christos test_read_format_zip_nofiletype.c \
    198   1.1  christos test_read_format_zip_padded.c \
    199   1.1  christos test_read_format_zip_sfx.c \
    200   1.1  christos test_read_format_zip_traditional_encryption_data.c \
    201   1.1  christos test_read_format_zip_winzip_aes.c \
    202   1.1  christos test_read_format_zip_winzip_aes_large.c \
    203   1.1  christos test_read_format_zip_with_invalid_traditional_eocd.c \
    204   1.1  christos test_read_format_zip_zip64.c \
    205   1.1  christos test_read_large.c \
    206   1.1  christos test_read_pax_truncated.c \
    207   1.1  christos test_read_position.c \
    208   1.1  christos test_read_set_format.c \
    209   1.1  christos test_read_too_many_filters.c \
    210   1.1  christos test_read_truncated.c \
    211   1.1  christos test_read_truncated_filter.c \
    212   1.1  christos test_sparse_basic.c \
    213   1.1  christos test_tar_filenames.c \
    214   1.1  christos test_tar_large.c \
    215   1.1  christos test_ustar_filename_encoding.c \
    216   1.1  christos test_ustar_filenames.c \
    217   1.1  christos test_warn_missing_hardlink_target.c \
    218   1.1  christos test_write_disk.c \
    219   1.1  christos test_write_disk_appledouble.c \
    220   1.1  christos test_write_disk_failures.c \
    221   1.1  christos test_write_disk_hardlink.c \
    222   1.1  christos test_write_disk_hfs_compression.c \
    223   1.1  christos test_write_disk_lookup.c \
    224   1.1  christos test_write_disk_mac_metadata.c \
    225   1.1  christos test_write_disk_no_hfs_compression.c \
    226   1.1  christos test_write_disk_perms.c \
    227   1.1  christos test_write_disk_secure.c \
    228   1.1  christos test_write_disk_secure744.c \
    229   1.1  christos test_write_disk_secure745.c \
    230   1.1  christos test_write_disk_secure746.c \
    231   1.1  christos test_write_disk_sparse.c \
    232   1.1  christos test_write_disk_symlink.c \
    233   1.1  christos test_write_disk_times.c \
    234   1.1  christos test_write_filter_b64encode.c \
    235   1.1  christos test_write_filter_bzip2.c \
    236   1.1  christos test_write_filter_compress.c \
    237   1.1  christos test_write_filter_gzip.c \
    238   1.1  christos test_write_filter_gzip_timestamp.c \
    239   1.1  christos test_write_filter_lrzip.c \
    240   1.1  christos test_write_filter_lz4.c \
    241   1.1  christos test_write_filter_lzip.c \
    242   1.1  christos test_write_filter_lzma.c \
    243   1.1  christos test_write_filter_lzop.c \
    244   1.1  christos test_write_filter_program.c \
    245   1.1  christos test_write_filter_uuencode.c \
    246   1.1  christos test_write_filter_xz.c \
    247   1.1  christos test_write_filter_zstd.c \
    248   1.1  christos test_write_format_7zip.c \
    249   1.1  christos test_write_format_7zip_empty.c \
    250   1.1  christos test_write_format_7zip_large.c \
    251   1.1  christos test_write_format_ar.c \
    252   1.1  christos test_write_format_cpio.c \
    253   1.1  christos test_write_format_cpio_empty.c \
    254   1.1  christos test_write_format_cpio_newc.c \
    255   1.1  christos test_write_format_cpio_odc.c \
    256   1.1  christos test_write_format_gnutar.c \
    257   1.1  christos test_write_format_gnutar_filenames.c \
    258   1.1  christos test_write_format_iso9660.c \
    259   1.1  christos test_write_format_iso9660_boot.c \
    260   1.1  christos test_write_format_iso9660_empty.c \
    261   1.1  christos test_write_format_iso9660_filename.c \
    262   1.1  christos test_write_format_iso9660_zisofs.c \
    263   1.1  christos test_write_format_mtree.c \
    264   1.1  christos test_write_format_mtree_absolute_path.c \
    265   1.1  christos test_write_format_mtree_classic.c \
    266   1.1  christos test_write_format_mtree_classic_indent.c \
    267   1.1  christos test_write_format_mtree_fflags.c \
    268   1.1  christos test_write_format_mtree_no_separator.c \
    269   1.1  christos test_write_format_mtree_quoted_filename.c \
    270   1.1  christos test_write_format_pax.c \
    271   1.1  christos test_write_format_raw.c \
    272   1.1  christos test_write_format_raw_b64.c \
    273   1.1  christos test_write_format_shar_empty.c \
    274   1.1  christos test_write_format_tar.c \
    275   1.1  christos test_write_format_tar_empty.c \
    276   1.1  christos test_write_format_tar_sparse.c \
    277   1.1  christos test_write_format_tar_ustar.c \
    278   1.1  christos test_write_format_tar_v7tar.c \
    279   1.1  christos test_write_format_warc.c \
    280   1.1  christos test_write_format_warc_empty.c \
    281   1.1  christos test_write_format_xar.c \
    282   1.1  christos test_write_format_xar_empty.c \
    283   1.1  christos test_write_format_zip.c \
    284   1.1  christos test_write_format_zip_compression_store.c \
    285   1.1  christos test_write_format_zip_empty.c \
    286   1.1  christos test_write_format_zip_empty_zip64.c \
    287   1.1  christos test_write_format_zip_file.c \
    288   1.1  christos test_write_format_zip_file_zip64.c \
    289   1.1  christos test_write_format_zip_large.c \
    290   1.1  christos test_write_format_zip_zip64.c \
    291   1.1  christos test_write_open_memory.c \
    292   1.1  christos test_write_read_format_zip.c \
    293   1.1  christos test_xattr_platform.c \
    294   1.1  christos test_zip_filename_encoding.c
    295   1.1  christos 
    296   1.1  christos FILESDIR=       ${TESTSDIR}
    297   1.1  christos FILES=\
    298   1.1  christos test_acl_pax_nfs4.tar.uu  \
    299   1.1  christos test_acl_pax_posix1e.tar.uu  \
    300   1.1  christos test_archive_string_conversion.txt.Z.uu  \
    301   1.1  christos test_compat_bzip2_1.tbz.uu  \
    302   1.1  christos test_compat_bzip2_2.tbz.uu  \
    303   1.1  christos test_compat_cpio_1.cpio.uu  \
    304   1.1  christos test_compat_gtar_1.tar.uu  \
    305   1.1  christos test_compat_gtar_2.tar.uu  \
    306   1.1  christos test_compat_gzip_1.tgz.uu  \
    307   1.1  christos test_compat_gzip_2.tgz.uu  \
    308   1.1  christos test_compat_lz4_1.tar.lz4.uu  \
    309   1.1  christos test_compat_lz4_2.tar.lz4.uu  \
    310   1.1  christos test_compat_lz4_3.tar.lz4.uu  \
    311   1.1  christos test_compat_lz4_B4.tar.lz4.uu  \
    312   1.1  christos test_compat_lz4_B4BD.tar.lz4.uu  \
    313   1.1  christos test_compat_lz4_B4BDBX.tar.lz4.uu  \
    314   1.1  christos test_compat_lz4_B5.tar.lz4.uu  \
    315   1.1  christos test_compat_lz4_B5BD.tar.lz4.uu  \
    316   1.1  christos test_compat_lz4_B6.tar.lz4.uu  \
    317   1.1  christos test_compat_lz4_B6BD.tar.lz4.uu  \
    318   1.1  christos test_compat_lz4_B7.tar.lz4.uu  \
    319   1.1  christos test_compat_lz4_B7BD.tar.lz4.uu  \
    320   1.1  christos test_compat_lzip_1.tlz.uu  \
    321   1.1  christos test_compat_lzip_2.tlz.uu  \
    322  1.12    martin test_compat_lzip_3.lz.uu  \
    323  1.12    martin test_compat_lzip_4.tlz.uu  \
    324   1.1  christos test_compat_lzma_1.tlz.uu  \
    325   1.1  christos test_compat_lzma_2.tlz.uu  \
    326   1.1  christos test_compat_lzma_3.tlz.uu  \
    327   1.1  christos test_compat_lzop_1.tar.lzo.uu  \
    328   1.1  christos test_compat_lzop_2.tar.lzo.uu  \
    329   1.1  christos test_compat_lzop_3.tar.lzo.uu  \
    330   1.1  christos test_compat_mac-1.tar.Z.uu  \
    331   1.1  christos test_compat_mac-2.tar.Z.uu  \
    332   1.1  christos test_compat_perl_archive_tar.tar.uu  \
    333   1.1  christos test_compat_plexus_archiver_tar.tar.uu  \
    334   1.1  christos test_compat_solaris_pax_sparse_1.pax.Z.uu  \
    335   1.1  christos test_compat_solaris_pax_sparse_2.pax.Z.uu  \
    336   1.1  christos test_compat_solaris_tar_acl.tar.uu  \
    337   1.1  christos test_compat_star_acl_nfs4.tar.uu  \
    338   1.1  christos test_compat_star_acl_posix1e.tar.uu  \
    339  1.12    martin test_compat_tar_directory_1.tar.uu  \
    340   1.1  christos test_compat_tar_hardlink_1.tar.uu  \
    341   1.1  christos test_compat_uudecode_large.tar.Z.uu  \
    342   1.1  christos test_compat_xz_1.txz.uu  \
    343   1.1  christos test_compat_zip_1.zip.uu  \
    344   1.1  christos test_compat_zip_2.zip.uu  \
    345   1.1  christos test_compat_zip_3.zip.uu  \
    346   1.1  christos test_compat_zip_4.zip.uu  \
    347   1.1  christos test_compat_zip_5.zip.uu  \
    348   1.1  christos test_compat_zip_6.zip.uu  \
    349   1.1  christos test_compat_zip_7.xps.uu  \
    350   1.1  christos test_compat_zip_8.zip.uu  \
    351   1.1  christos test_compat_zstd_1.tar.zst.uu  \
    352   1.1  christos test_fuzz.cab.uu  \
    353   1.1  christos test_fuzz.lzh.uu  \
    354   1.1  christos test_fuzz_1.iso.Z.uu  \
    355   1.1  christos test_pax_filename_encoding.tar.uu  \
    356   1.1  christos test_rar_multivolume_multiple_files.part1.rar.uu  \
    357   1.1  christos test_rar_multivolume_multiple_files.part2.rar.uu  \
    358   1.1  christos test_rar_multivolume_multiple_files.part3.rar.uu  \
    359   1.1  christos test_rar_multivolume_multiple_files.part4.rar.uu  \
    360   1.1  christos test_rar_multivolume_multiple_files.part5.rar.uu  \
    361   1.1  christos test_rar_multivolume_multiple_files.part6.rar.uu  \
    362   1.1  christos test_rar_multivolume_single_file.part1.rar.uu  \
    363   1.1  christos test_rar_multivolume_single_file.part2.rar.uu  \
    364   1.1  christos test_rar_multivolume_single_file.part3.rar.uu  \
    365   1.1  christos test_rar_multivolume_uncompressed_files.part01.rar.uu  \
    366   1.1  christos test_rar_multivolume_uncompressed_files.part02.rar.uu  \
    367   1.1  christos test_rar_multivolume_uncompressed_files.part03.rar.uu  \
    368   1.1  christos test_rar_multivolume_uncompressed_files.part04.rar.uu  \
    369   1.1  christos test_rar_multivolume_uncompressed_files.part05.rar.uu  \
    370   1.1  christos test_rar_multivolume_uncompressed_files.part06.rar.uu  \
    371   1.1  christos test_rar_multivolume_uncompressed_files.part07.rar.uu  \
    372   1.1  christos test_rar_multivolume_uncompressed_files.part08.rar.uu  \
    373   1.1  christos test_rar_multivolume_uncompressed_files.part09.rar.uu  \
    374   1.1  christos test_rar_multivolume_uncompressed_files.part10.rar.uu  \
    375   1.1  christos test_read_filter_grzip.tar.grz.uu  \
    376   1.1  christos test_read_filter_lrzip.tar.lrz.uu  \
    377   1.1  christos test_read_filter_lzop.tar.lzo.uu  \
    378   1.1  christos test_read_filter_lzop_multiple_parts.tar.lzo.uu  \
    379   1.1  christos test_read_format_7zip_bcj2_bzip2.7z.uu  \
    380   1.1  christos test_read_format_7zip_bcj2_copy_1.7z.uu  \
    381   1.1  christos test_read_format_7zip_bcj2_copy_2.7z.uu  \
    382   1.1  christos test_read_format_7zip_bcj2_copy_lzma.7z.uu  \
    383   1.1  christos test_read_format_7zip_bcj2_deflate.7z.uu  \
    384   1.1  christos test_read_format_7zip_bcj2_lzma1_1.7z.uu  \
    385   1.1  christos test_read_format_7zip_bcj2_lzma1_2.7z.uu  \
    386   1.1  christos test_read_format_7zip_bcj2_lzma2_1.7z.uu  \
    387   1.1  christos test_read_format_7zip_bcj2_lzma2_2.7z.uu  \
    388   1.1  christos test_read_format_7zip_bcj_bzip2.7z.uu  \
    389   1.1  christos test_read_format_7zip_bcj_copy.7z.uu  \
    390   1.1  christos test_read_format_7zip_bcj_deflate.7z.uu  \
    391   1.1  christos test_read_format_7zip_bcj_lzma1.7z.uu  \
    392   1.1  christos test_read_format_7zip_bcj_lzma2.7z.uu  \
    393   1.1  christos test_read_format_7zip_bzip2.7z.uu  \
    394   1.1  christos test_read_format_7zip_copy.7z.uu  \
    395   1.1  christos test_read_format_7zip_copy_2.7z.uu  \
    396   1.1  christos test_read_format_7zip_deflate.7z.uu  \
    397  1.12    martin test_read_format_7zip_deflate_arm64.7z.uu  \
    398   1.1  christos test_read_format_7zip_delta_lzma1.7z.uu  \
    399   1.1  christos test_read_format_7zip_delta_lzma2.7z.uu  \
    400  1.12    martin test_read_format_7zip_delta4_lzma1.7z.uu  \
    401  1.12    martin test_read_format_7zip_delta4_lzma2.7z.uu  \
    402   1.1  christos test_read_format_7zip_empty_archive.7z.uu  \
    403   1.1  christos test_read_format_7zip_empty_file.7z.uu  \
    404   1.1  christos test_read_format_7zip_encryption.7z.uu  \
    405   1.1  christos test_read_format_7zip_encryption_header.7z.uu  \
    406   1.1  christos test_read_format_7zip_encryption_partially.7z.uu  \
    407   1.1  christos test_read_format_7zip_lzma1.7z.uu  \
    408   1.1  christos test_read_format_7zip_lzma1_2.7z.uu  \
    409   1.1  christos test_read_format_7zip_lzma1_lzma2.7z.uu  \
    410  1.12    martin test_read_format_7zip_lzma2.7z.uu \
    411  1.12    martin test_read_format_7zip_lzma2_arm.7z.uu \
    412   1.1  christos test_read_format_7zip_malformed.7z.uu  \
    413   1.1  christos test_read_format_7zip_malformed2.7z.uu  \
    414   1.1  christos test_read_format_7zip_ppmd.7z.uu  \
    415   1.1  christos test_read_format_7zip_symbolic_name.7z.uu  \
    416  1.12    martin test_read_format_7zip_win_attrib.7z.uu \
    417   1.1  christos test_read_format_ar.ar.uu  \
    418   1.1  christos test_read_format_cab_1.cab.uu  \
    419   1.1  christos test_read_format_cab_2.cab.uu  \
    420   1.1  christos test_read_format_cab_3.cab.uu  \
    421   1.1  christos test_read_format_cab_filename_cp932.cab.uu  \
    422   1.1  christos test_read_format_cpio_bin_be.cpio.uu  \
    423   1.1  christos test_read_format_cpio_bin_le.cpio.uu  \
    424   1.1  christos test_read_format_cpio_filename_cp866.cpio.uu  \
    425   1.1  christos test_read_format_cpio_filename_eucjp.cpio.uu  \
    426   1.1  christos test_read_format_cpio_filename_koi8r.cpio.uu  \
    427   1.1  christos test_read_format_cpio_filename_utf8_jp.cpio.uu  \
    428   1.1  christos test_read_format_cpio_filename_utf8_ru.cpio.uu  \
    429   1.1  christos test_read_format_cpio_svr4_bzip2_rpm.rpm.uu  \
    430   1.1  christos test_read_format_cpio_svr4_gzip_rpm.rpm.uu  \
    431   1.1  christos test_read_format_gtar_filename_cp866.tar.Z.uu  \
    432   1.1  christos test_read_format_gtar_filename_eucjp.tar.Z.uu  \
    433   1.1  christos test_read_format_gtar_filename_koi8r.tar.Z.uu  \
    434   1.1  christos test_read_format_gtar_sparse_1_13.tar.uu  \
    435   1.1  christos test_read_format_gtar_sparse_1_17.tar.uu  \
    436   1.1  christos test_read_format_gtar_sparse_1_17_posix00.tar.uu  \
    437   1.1  christos test_read_format_gtar_sparse_1_17_posix01.tar.uu  \
    438   1.1  christos test_read_format_gtar_sparse_1_17_posix10.tar.uu  \
    439   1.1  christos test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu  \
    440   1.1  christos test_read_format_gtar_sparse_skip_entry.tar.Z.uu  \
    441   1.1  christos test_read_format_iso.iso.Z.uu  \
    442   1.1  christos test_read_format_iso_2.iso.Z.uu  \
    443   1.1  christos test_read_format_iso_joliet.iso.Z.uu  \
    444   1.1  christos test_read_format_iso_joliet_by_nero.iso.Z.uu  \
    445   1.1  christos test_read_format_iso_joliet_long.iso.Z.uu  \
    446   1.1  christos test_read_format_iso_joliet_rockridge.iso.Z.uu  \
    447   1.1  christos test_read_format_iso_multi_extent.iso.Z.uu  \
    448   1.1  christos test_read_format_iso_rockridge.iso.Z.uu  \
    449   1.1  christos test_read_format_iso_rockridge_ce.iso.Z.uu  \
    450   1.1  christos test_read_format_iso_rockridge_new.iso.Z.uu  \
    451   1.1  christos test_read_format_iso_rockridge_rr_moved.iso.Z.uu  \
    452   1.1  christos test_read_format_iso_xorriso.iso.Z.uu  \
    453   1.1  christos test_read_format_iso_zisofs.iso.Z.uu  \
    454   1.1  christos test_read_format_lha_bugfix_0.lzh.uu  \
    455   1.1  christos test_read_format_lha_filename_cp932.lzh.uu  \
    456   1.1  christos test_read_format_lha_header0.lzh.uu  \
    457   1.1  christos test_read_format_lha_header1.lzh.uu  \
    458   1.1  christos test_read_format_lha_header2.lzh.uu  \
    459   1.1  christos test_read_format_lha_header3.lzh.uu  \
    460   1.1  christos test_read_format_lha_lh0.lzh.uu  \
    461   1.1  christos test_read_format_lha_lh6.lzh.uu  \
    462   1.1  christos test_read_format_lha_lh7.lzh.uu  \
    463   1.1  christos test_read_format_lha_withjunk.lzh.uu  \
    464   1.1  christos test_read_format_mtree.mtree.uu  \
    465   1.1  christos test_read_format_mtree_crash747.mtree.bz2.uu  \
    466   1.1  christos test_read_format_mtree_nomagic.mtree.uu  \
    467   1.1  christos test_read_format_mtree_nomagic2.mtree.uu  \
    468   1.1  christos test_read_format_mtree_nomagic3.mtree.uu  \
    469   1.1  christos test_read_format_mtree_noprint.mtree.uu  \
    470   1.1  christos test_read_format_rar.rar.uu  \
    471   1.1  christos test_read_format_rar5_arm.rar.uu  \
    472  1.12    martin test_read_format_rar5_arm_filter_on_window_boundary.rar.uu \
    473  1.12    martin test_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu \
    474   1.1  christos test_read_format_rar5_blake2.rar.uu  \
    475  1.12    martin test_read_format_rar5_block_size_is_too_small.rar.uu \
    476   1.1  christos test_read_format_rar5_compressed.rar.uu  \
    477  1.12    martin test_read_format_rar5_decode_number_out_of_bounds_read.rar.uu \
    478  1.12    martin test_read_format_rar5_different_solid_window_size.rar.uu \
    479  1.12    martin test_read_format_rar5_different_window_size.rar.uu \
    480  1.12    martin test_read_format_rar5_different_winsize_on_merge.rar.uu \
    481   1.1  christos test_read_format_rar5_distance_overflow.rar.uu  \
    482   1.1  christos test_read_format_rar5_extra_field_version.rar.uu  \
    483   1.1  christos test_read_format_rar5_fileattr.rar.uu  \
    484   1.1  christos test_read_format_rar5_hardlink.rar.uu  \
    485   1.1  christos test_read_format_rar5_invalid_dict_reference.rar.uu  \
    486   1.1  christos test_read_format_rar5_leftshift1.rar.uu  \
    487   1.1  christos test_read_format_rar5_leftshift2.rar.uu  \
    488   1.1  christos test_read_format_rar5_multiarchive.part01.rar.uu  \
    489   1.1  christos test_read_format_rar5_multiarchive.part02.rar.uu  \
    490   1.1  christos test_read_format_rar5_multiarchive.part03.rar.uu  \
    491   1.1  christos test_read_format_rar5_multiarchive.part04.rar.uu  \
    492   1.1  christos test_read_format_rar5_multiarchive.part05.rar.uu  \
    493   1.1  christos test_read_format_rar5_multiarchive.part06.rar.uu  \
    494   1.1  christos test_read_format_rar5_multiarchive.part07.rar.uu  \
    495   1.1  christos test_read_format_rar5_multiarchive.part08.rar.uu  \
    496   1.1  christos test_read_format_rar5_multiarchive_solid.part01.rar.uu  \
    497   1.1  christos test_read_format_rar5_multiarchive_solid.part02.rar.uu  \
    498   1.1  christos test_read_format_rar5_multiarchive_solid.part03.rar.uu  \
    499   1.1  christos test_read_format_rar5_multiarchive_solid.part04.rar.uu  \
    500   1.1  christos test_read_format_rar5_multiple_files.rar.uu  \
    501   1.1  christos test_read_format_rar5_multiple_files_solid.rar.uu  \
    502   1.1  christos test_read_format_rar5_nonempty_dir_stream.rar.uu  \
    503   1.1  christos test_read_format_rar5_owner.rar.uu  \
    504   1.1  christos test_read_format_rar5_readtables_overflow.rar.uu  \
    505  1.12    martin test_read_format_rar5_sfx.exe.uu \
    506   1.1  christos test_read_format_rar5_solid.rar.uu  \
    507   1.1  christos test_read_format_rar5_stored.rar.uu  \
    508   1.1  christos test_read_format_rar5_stored_manyfiles.rar.uu  \
    509   1.1  christos test_read_format_rar5_symlink.rar.uu  \
    510   1.1  christos test_read_format_rar5_truncated_huff.rar.uu  \
    511   1.1  christos test_read_format_rar5_win32.rar.uu  \
    512  1.12    martin test_read_format_rar5_window_buf_and_size_desync.rar.uu \
    513   1.1  christos test_read_format_rar_binary_data.rar.uu  \
    514   1.1  christos test_read_format_rar_compress_best.rar.uu  \
    515   1.1  christos test_read_format_rar_compress_normal.rar.uu  \
    516   1.1  christos test_read_format_rar_encryption_data.rar.uu  \
    517   1.1  christos test_read_format_rar_encryption_header.rar.uu  \
    518   1.1  christos test_read_format_rar_encryption_partially.rar.uu  \
    519   1.1  christos test_read_format_rar_invalid1.rar.uu  \
    520   1.1  christos test_read_format_rar_multi_lzss_blocks.rar.uu  \
    521   1.1  christos test_read_format_rar_multivolume.part0001.rar.uu  \
    522   1.1  christos test_read_format_rar_multivolume.part0002.rar.uu  \
    523   1.1  christos test_read_format_rar_multivolume.part0003.rar.uu  \
    524   1.1  christos test_read_format_rar_multivolume.part0004.rar.uu  \
    525   1.1  christos test_read_format_rar_noeof.rar.uu  \
    526   1.1  christos test_read_format_rar_ppmd_lzss_conversion.rar.uu  \
    527   1.1  christos test_read_format_rar_ppmd_use_after_free.rar.uu  \
    528  1.12    martin test_read_format_rar_ppmd_use_after_free2.rar.uu \
    529   1.1  christos test_read_format_rar_sfx.exe.uu  \
    530   1.1  christos test_read_format_rar_subblock.rar.uu  \
    531   1.1  christos test_read_format_rar_unicode.rar.uu  \
    532   1.1  christos test_read_format_rar_windows.rar.uu  \
    533   1.1  christos test_read_format_raw.bufr.uu  \
    534   1.1  christos test_read_format_raw.data.Z.uu  \
    535   1.1  christos test_read_format_raw.data.gz.uu  \
    536   1.1  christos test_read_format_raw.data.uu  \
    537   1.1  christos test_read_format_tar_concatenated.tar.uu  \
    538   1.1  christos test_read_format_tar_empty_filename.tar.uu  \
    539   1.1  christos test_read_format_tar_empty_pax.tar.Z.uu  \
    540   1.1  christos test_read_format_tar_empty_with_gnulabel.tar.uu  \
    541   1.1  christos test_read_format_tar_filename_koi8r.tar.Z.uu  \
    542   1.1  christos test_read_format_ustar_filename_cp866.tar.Z.uu  \
    543   1.1  christos test_read_format_ustar_filename_eucjp.tar.Z.uu  \
    544   1.1  christos test_read_format_ustar_filename_koi8r.tar.Z.uu  \
    545   1.1  christos test_read_format_warc.warc.uu  \
    546   1.1  christos test_read_format_zip.zip.uu  \
    547   1.1  christos test_read_format_zip_7075_utf8_paths.zip.uu  \
    548  1.12    martin test_read_format_zip_7z_deflate.zip.uu \
    549  1.12    martin test_read_format_zip_7z_lzma.zip.uu \
    550   1.1  christos test_read_format_zip_bz2_hang.zip.uu  \
    551   1.1  christos test_read_format_zip_bzip2.zipx.uu  \
    552   1.1  christos test_read_format_zip_bzip2_multi.zipx.uu  \
    553   1.1  christos test_read_format_zip_comment_stored_1.zip.uu  \
    554   1.1  christos test_read_format_zip_comment_stored_2.zip.uu  \
    555   1.1  christos test_read_format_zip_encryption_data.zip.uu  \
    556   1.1  christos test_read_format_zip_encryption_header.zip.uu  \
    557   1.1  christos test_read_format_zip_encryption_partially.zip.uu  \
    558   1.1  christos test_read_format_zip_extra_padding.zip.uu  \
    559   1.1  christos test_read_format_zip_filename_cp866.zip.uu  \
    560   1.1  christos test_read_format_zip_filename_cp932.zip.uu  \
    561   1.1  christos test_read_format_zip_filename_koi8r.zip.uu  \
    562   1.1  christos test_read_format_zip_filename_utf8_jp.zip.uu  \
    563   1.1  christos test_read_format_zip_filename_utf8_ru.zip.uu  \
    564   1.1  christos test_read_format_zip_filename_utf8_ru2.zip.uu  \
    565   1.1  christos test_read_format_zip_high_compression.zip.uu  \
    566   1.1  christos test_read_format_zip_jar.jar.uu  \
    567   1.1  christos test_read_format_zip_length_at_end.zip.uu  \
    568   1.1  christos test_read_format_zip_lzma.zipx.uu  \
    569   1.1  christos test_read_format_zip_lzma_alone_leak.zipx.uu  \
    570   1.1  christos test_read_format_zip_lzma_multi.zipx.uu  \
    571  1.12    martin test_read_format_zip_lzma_stream_end.zipx.uu \
    572   1.1  christos test_read_format_zip_mac_metadata.zip.uu  \
    573   1.1  christos test_read_format_zip_malformed1.zip.uu  \
    574   1.1  christos test_read_format_zip_msdos.zip.uu  \
    575   1.1  christos test_read_format_zip_nested.zip.uu  \
    576   1.1  christos test_read_format_zip_nofiletype.zip.uu  \
    577   1.1  christos test_read_format_zip_padded1.zip.uu  \
    578   1.1  christos test_read_format_zip_padded2.zip.uu  \
    579   1.1  christos test_read_format_zip_padded3.zip.uu  \
    580   1.1  christos test_read_format_zip_ppmd8.zipx.uu  \
    581   1.1  christos test_read_format_zip_ppmd8_crash_1.zipx.uu  \
    582   1.1  christos test_read_format_zip_ppmd8_crash_2.zipx.uu  \
    583   1.1  christos test_read_format_zip_ppmd8_multi.zipx.uu  \
    584   1.1  christos test_read_format_zip_sfx.uu  \
    585   1.1  christos test_read_format_zip_symlink.zip.uu  \
    586   1.1  christos test_read_format_zip_traditional_encryption_data.zip.uu  \
    587   1.1  christos test_read_format_zip_ux.zip.uu  \
    588   1.1  christos test_read_format_zip_winzip_aes128.zip.uu  \
    589   1.1  christos test_read_format_zip_winzip_aes256.zip.uu  \
    590   1.1  christos test_read_format_zip_winzip_aes256_large.zip.uu  \
    591   1.1  christos test_read_format_zip_winzip_aes256_stored.zip.uu  \
    592   1.1  christos test_read_format_zip_with_invalid_traditional_eocd.zip.uu  \
    593   1.1  christos test_read_format_zip_xz_multi.zipx.uu  \
    594   1.1  christos test_read_format_zip_zip64a.zip.uu  \
    595   1.1  christos test_read_format_zip_zip64b.zip.uu  \
    596   1.1  christos test_read_large_splitted_rar_aa.uu  \
    597   1.1  christos test_read_large_splitted_rar_ab.uu  \
    598   1.1  christos test_read_large_splitted_rar_ac.uu  \
    599   1.1  christos test_read_large_splitted_rar_ad.uu  \
    600   1.1  christos test_read_large_splitted_rar_ae.uu  \
    601   1.1  christos test_read_splitted_rar_aa.uu  \
    602   1.1  christos test_read_splitted_rar_ab.uu  \
    603   1.1  christos test_read_splitted_rar_ac.uu  \
    604   1.1  christos test_read_splitted_rar_ad.uu  \
    605   1.1  christos test_read_too_many_filters.gz.uu  \
    606   1.1  christos test_splitted_rar_seek_support_aa.uu  \
    607   1.1  christos test_splitted_rar_seek_support_ab.uu  \
    608   1.1  christos test_splitted_rar_seek_support_ac.uu  \
    609   1.1  christos test_write_disk_appledouble.cpio.gz.uu  \
    610   1.1  christos test_write_disk_hfs_compression.tgz.uu  \
    611   1.1  christos test_write_disk_mac_metadata.tar.gz.uu  \
    612   1.1  christos test_write_disk_no_hfs_compression.tgz.uu
    613   1.1  christos 
    614   1.1  christos .include <bsd.test.mk>
    615   1.1  christos 
    616   1.3  christos test_main.o test_main.d: list.h
    617   1.1  christos 
    618   1.1  christos CLEANFILES+=list.h
    619   1.1  christos 
    620   1.1  christos # XXX: We skip the truncated filter tests because they are broken
    621   1.1  christos # for built-in decompressors. The reason is that the output buffer
    622   1.1  christos # size is 64K, the truncated files are < 64K and the built-in decompressors
    623   1.1  christos # bail out instead of returning incomplete results.
    624   1.1  christos list.h: ${SRCS.h_libarchive} Makefile
    625   1.1  christos 	${TOOL_GREP} -h '^DEFINE_TEST(' ${.ALLSRC} | \
    626   1.1  christos 	    ${TOOL_GREP} -v _truncated_filter_ | \
    627   1.1  christos 	    ${TOOL_GREP} -v test_compat_pax_libarchive_2x > ${.TARGET}
    628   1.1  christos 
    629   1.6     lukem COPTS.test_archive_string_conversion.c+=	${CC_WNO_STRINGOP_TRUNCATION}
    630   1.8  christos COPTS.test_main.c+=	${CC_WNO_STRINGOP_OVERFLOW}
    631   1.9       kre COPTS.test_write_disk_secure.c+=	${CC_WNO_STRINGOP_OVERFLOW}
    632   1.1  christos 
    633