xref: /freebsd/lib/libarchive/tests/Makefile (revision 331f2c1c46584510fa9104c86f31f44ece3838c5)
172f97a2dSAlex Richardson.include <src.opts.mk>
259e2ff55SEnji Cooper
343faedc1SGlen BarberPACKAGE=	tests
443faedc1SGlen Barber
5fe815331SKyle EvansWARNS?=		3
6fe815331SKyle Evans
73c89d6b0SBryan Drewery_LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
859e2ff55SEnji Cooper
959e2ff55SEnji CooperATF_TESTS_SH+=	functional_test
1059e2ff55SEnji Cooper
11cda20f96SRuslan BukinTEST_METADATA.functional_test+=	timeout="600"
12cda20f96SRuslan Bukin
1359e2ff55SEnji CooperBINDIR=	${TESTSDIR}
1459e2ff55SEnji Cooper
1559e2ff55SEnji CooperPROGS+=	libarchive_test
1659e2ff55SEnji Cooper
17a08cc1eeSEnji CooperCFLAGS+= -I${.CURDIR} -I${.CURDIR:H} -I${.OBJDIR}
1864287048SMartin MatuskaCFLAGS+= -I${_LIBARCHIVEDIR}/libarchive -I${_LIBARCHIVEDIR}/libarchive/test
1964287048SMartin MatuskaCFLAGS+= -I${_LIBARCHIVEDIR}/test_utils
20*2e113ef8SMartin MatuskaCFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
2159e2ff55SEnji Cooper
22833a452eSMartin MatuskaCFLAGS.test_utils.c+=	-Wno-cast-align
23833a452eSMartin Matuska
2459e2ff55SEnji Cooper# Uncomment to link against dmalloc
2559e2ff55SEnji Cooper#LDADD+= -L/usr/local/lib -ldmalloc
2659e2ff55SEnji Cooper#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC
2759e2ff55SEnji Cooper
283c89d6b0SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/libarchive/test
2959e2ff55SEnji CooperTESTS_SRCS= \
30bd66c1b4SMartin Matuska	test_7zip_filename_encoding.c		\
3159e2ff55SEnji Cooper	test_acl_nfs4.c				\
3259e2ff55SEnji Cooper	test_acl_pax.c				\
339f3de9e2SMartin Matuska	test_acl_platform_nfs4.c		\
349f3de9e2SMartin Matuska	test_acl_platform_posix1e.c		\
3559e2ff55SEnji Cooper	test_acl_posix1e.c			\
36e9ed7ea4SMartin Matuska	test_acl_text.c				\
37bd66c1b4SMartin Matuska	test_ar_mode.c				\
3859e2ff55SEnji Cooper	test_archive_api_feature.c		\
3959e2ff55SEnji Cooper	test_archive_clear_error.c		\
4059e2ff55SEnji Cooper	test_archive_cmdline.c			\
41cdf63a70SMartin Matuska	test_archive_digest.c			\
4259e2ff55SEnji Cooper	test_archive_match_time.c		\
4359e2ff55SEnji Cooper	test_archive_match_owner.c		\
4459e2ff55SEnji Cooper	test_archive_match_path.c		\
4559e2ff55SEnji Cooper	test_archive_pathmatch.c		\
46*2e113ef8SMartin Matuska	test_archive_parse_date.c		\
47bd66c1b4SMartin Matuska	test_archive_read.c			\
48cdf63a70SMartin Matuska	test_archive_read_add_passphrase.c	\
4959e2ff55SEnji Cooper	test_archive_read_close_twice.c		\
5059e2ff55SEnji Cooper	test_archive_read_close_twice_open_fd.c	\
5159e2ff55SEnji Cooper	test_archive_read_close_twice_open_filename.c	\
5259e2ff55SEnji Cooper	test_archive_read_multiple_data_objects.c	\
5359e2ff55SEnji Cooper	test_archive_read_next_header_empty.c	\
5459e2ff55SEnji Cooper	test_archive_read_next_header_raw.c	\
5559e2ff55SEnji Cooper	test_archive_read_open2.c		\
5659e2ff55SEnji Cooper	test_archive_read_set_filter_option.c	\
5759e2ff55SEnji Cooper	test_archive_read_set_format_option.c	\
5859e2ff55SEnji Cooper	test_archive_read_set_option.c		\
5959e2ff55SEnji Cooper	test_archive_read_set_options.c		\
6059e2ff55SEnji Cooper	test_archive_read_support.c		\
6159e2ff55SEnji Cooper	test_archive_set_error.c		\
6259e2ff55SEnji Cooper	test_archive_string.c			\
6359e2ff55SEnji Cooper	test_archive_string_conversion.c	\
6459e2ff55SEnji Cooper	test_archive_write_add_filter_by_name.c	\
6559e2ff55SEnji Cooper	test_archive_write_set_filter_option.c	\
6659e2ff55SEnji Cooper	test_archive_write_set_format_by_name.c	\
67cdf63a70SMartin Matuska	test_archive_write_set_format_filter_by_ext.c \
6859e2ff55SEnji Cooper	test_archive_write_set_format_option.c	\
6959e2ff55SEnji Cooper	test_archive_write_set_option.c		\
7059e2ff55SEnji Cooper	test_archive_write_set_options.c	\
71cdf63a70SMartin Matuska	test_archive_write_set_passphrase.c	\
7259e2ff55SEnji Cooper	test_bad_fd.c				\
7359e2ff55SEnji Cooper	test_compat_bzip2.c			\
7459e2ff55SEnji Cooper	test_compat_cpio.c			\
7559e2ff55SEnji Cooper	test_compat_gtar.c			\
76*2e113ef8SMartin Matuska	test_compat_gtar_large.c		\
7759e2ff55SEnji Cooper	test_compat_gzip.c			\
78cdf63a70SMartin Matuska	test_compat_lz4.c			\
7959e2ff55SEnji Cooper	test_compat_lzip.c			\
8059e2ff55SEnji Cooper	test_compat_lzma.c			\
8159e2ff55SEnji Cooper	test_compat_lzop.c			\
8259e2ff55SEnji Cooper	test_compat_mac.c			\
83007dbc1fSMartin Matuska	test_compat_perl_archive_tar.c		\
84a2e802b7SMartin Matuska	test_compat_plexus_archiver_tar.c	\
8559e2ff55SEnji Cooper	test_compat_solaris_tar_acl.c		\
8659e2ff55SEnji Cooper	test_compat_solaris_pax_sparse.c	\
87e9ed7ea4SMartin Matuska	test_compat_star_acl.c			\
88833a452eSMartin Matuska	test_compat_tar_directory.c		\
8959e2ff55SEnji Cooper	test_compat_tar_hardlink.c		\
9059e2ff55SEnji Cooper	test_compat_uudecode.c			\
91cdf63a70SMartin Matuska	test_compat_uudecode_large.c		\
9259e2ff55SEnji Cooper	test_compat_xz.c			\
9359e2ff55SEnji Cooper	test_compat_zip.c			\
945c831a5bSMartin Matuska	test_compat_zstd.c			\
9559e2ff55SEnji Cooper	test_empty_write.c			\
9659e2ff55SEnji Cooper	test_entry.c				\
9759e2ff55SEnji Cooper	test_entry_strmode.c			\
9859e2ff55SEnji Cooper	test_extattr_freebsd.c			\
9959e2ff55SEnji Cooper	test_filter_count.c			\
10059e2ff55SEnji Cooper	test_gnutar_filename_encoding.c		\
10159e2ff55SEnji Cooper	test_link_resolver.c			\
10259e2ff55SEnji Cooper	test_open_fd.c				\
10359e2ff55SEnji Cooper	test_open_failure.c			\
10459e2ff55SEnji Cooper	test_open_file.c			\
10559e2ff55SEnji Cooper	test_open_filename.c			\
10659e2ff55SEnji Cooper	test_pax_filename_encoding.c		\
10779085fd3SMartin Matuska	test_pax_xattr_header.c			\
10859e2ff55SEnji Cooper	test_read_data_large.c			\
10959e2ff55SEnji Cooper	test_read_disk.c			\
11059e2ff55SEnji Cooper	test_read_disk_directory_traversals.c	\
11159e2ff55SEnji Cooper	test_read_disk_entry_from_file.c	\
11259e2ff55SEnji Cooper	test_read_extract.c			\
11359e2ff55SEnji Cooper	test_read_file_nonexistent.c		\
114cdf63a70SMartin Matuska	test_read_filter_compress.c		\
11559e2ff55SEnji Cooper	test_read_filter_grzip.c		\
116bd66c1b4SMartin Matuska	test_read_filter_gzip_recursive.c	\
11759e2ff55SEnji Cooper	test_read_filter_lrzip.c		\
11859e2ff55SEnji Cooper	test_read_filter_lzop.c			\
11959e2ff55SEnji Cooper	test_read_filter_lzop_multiple_parts.c	\
12059e2ff55SEnji Cooper	test_read_filter_program.c		\
12159e2ff55SEnji Cooper	test_read_filter_program_signature.c	\
12259e2ff55SEnji Cooper	test_read_filter_uudecode.c		\
123b9128a37SMartin Matuska	test_read_filter_uudecode_raw.c		\
12459e2ff55SEnji Cooper	test_read_format_7zip.c			\
125cdf63a70SMartin Matuska	test_read_format_7zip_encryption_data.c \
126cdf63a70SMartin Matuska	test_read_format_7zip_encryption_header.c	\
127cdf63a70SMartin Matuska	test_read_format_7zip_encryption_partially.c	\
128cdf63a70SMartin Matuska	test_read_format_7zip_malformed.c	\
12979085fd3SMartin Matuska	test_read_format_7zip_packinfo_digests.c	\
13059e2ff55SEnji Cooper	test_read_format_ar.c			\
13159e2ff55SEnji Cooper	test_read_format_cab.c			\
13259e2ff55SEnji Cooper	test_read_format_cab_filename.c		\
13359e2ff55SEnji Cooper	test_read_format_cpio_afio.c		\
13459e2ff55SEnji Cooper	test_read_format_cpio_bin.c		\
13559e2ff55SEnji Cooper	test_read_format_cpio_bin_Z.c		\
13659e2ff55SEnji Cooper	test_read_format_cpio_bin_be.c		\
13759e2ff55SEnji Cooper	test_read_format_cpio_bin_bz2.c		\
13859e2ff55SEnji Cooper	test_read_format_cpio_bin_gz.c		\
139cdf63a70SMartin Matuska	test_read_format_cpio_bin_le.c		\
14059e2ff55SEnji Cooper	test_read_format_cpio_bin_lzip.c	\
14159e2ff55SEnji Cooper	test_read_format_cpio_bin_lzma.c	\
14259e2ff55SEnji Cooper	test_read_format_cpio_bin_xz.c		\
14359e2ff55SEnji Cooper	test_read_format_cpio_filename.c	\
14459e2ff55SEnji Cooper	test_read_format_cpio_odc.c		\
14559e2ff55SEnji Cooper	test_read_format_cpio_svr4_gzip.c	\
14659e2ff55SEnji Cooper	test_read_format_cpio_svr4c_Z.c		\
14759e2ff55SEnji Cooper	test_read_format_cpio_svr4_bzip2_rpm.c	\
14859e2ff55SEnji Cooper	test_read_format_cpio_svr4_gzip_rpm.c	\
14959e2ff55SEnji Cooper	test_read_format_empty.c		\
15059e2ff55SEnji Cooper	test_read_format_gtar_filename.c	\
15159e2ff55SEnji Cooper	test_read_format_gtar_gz.c		\
15259e2ff55SEnji Cooper	test_read_format_gtar_lzma.c		\
153*2e113ef8SMartin Matuska	test_read_format_gtar_redundant_L.c	\
15459e2ff55SEnji Cooper	test_read_format_gtar_sparse.c		\
155*2e113ef8SMartin Matuska	test_read_format_gtar_sparse_length.c	\
15659e2ff55SEnji Cooper	test_read_format_gtar_sparse_skip_entry.c \
157bd66c1b4SMartin Matuska	test_read_format_huge_rpm.c		\
15859e2ff55SEnji Cooper	test_read_format_iso_Z.c		\
15959e2ff55SEnji Cooper	test_read_format_iso_multi_extent.c	\
16059e2ff55SEnji Cooper	test_read_format_iso_xorriso.c		\
16159e2ff55SEnji Cooper	test_read_format_isorr_rr_moved.c	\
16259e2ff55SEnji Cooper	test_read_format_isojoliet_bz2.c	\
16359e2ff55SEnji Cooper	test_read_format_isojoliet_long.c	\
16459e2ff55SEnji Cooper	test_read_format_isojoliet_rr.c		\
16559e2ff55SEnji Cooper	test_read_format_isojoliet_versioned.c	\
16659e2ff55SEnji Cooper	test_read_format_isorr_bz2.c		\
16759e2ff55SEnji Cooper	test_read_format_isorr_ce.c		\
16859e2ff55SEnji Cooper	test_read_format_isorr_new_bz2.c	\
16959e2ff55SEnji Cooper	test_read_format_isozisofs_bz2.c	\
17059e2ff55SEnji Cooper	test_read_format_lha.c			\
171cdf63a70SMartin Matuska	test_read_format_lha_bugfix_0.c		\
17259e2ff55SEnji Cooper	test_read_format_lha_filename.c		\
17379085fd3SMartin Matuska	test_read_format_lha_filename_utf16.c	\
17459e2ff55SEnji Cooper	test_read_format_mtree.c		\
175f3e9b21aSMartin Matuska	test_read_format_mtree_crash747.c	\
17659e2ff55SEnji Cooper	test_read_format_pax_bz2.c		\
17759e2ff55SEnji Cooper	test_read_format_rar.c			\
178b1c91e4bSMartin Matuska	test_read_format_rar5.c			\
179bd66c1b4SMartin Matuska	test_read_format_rar_encryption.c	\
180cdf63a70SMartin Matuska	test_read_format_rar_encryption_data.c	\
181cdf63a70SMartin Matuska	test_read_format_rar_encryption_header.c	\
182cdf63a70SMartin Matuska	test_read_format_rar_encryption_partially.c	\
183833a452eSMartin Matuska	test_read_format_rar_filter.c		\
184f061a221SMartin Matuska	test_read_format_rar_invalid1.c		\
185*2e113ef8SMartin Matuska	test_read_format_rar_overflow.c		\
18659e2ff55SEnji Cooper	test_read_format_raw.c			\
18759e2ff55SEnji Cooper	test_read_format_tar.c			\
188cdf63a70SMartin Matuska	test_read_format_tar_concatenated.c	\
18959e2ff55SEnji Cooper	test_read_format_tar_empty_filename.c	\
190cdf63a70SMartin Matuska	test_read_format_tar_empty_pax.c	\
19152c2bb75SMartin Matuska	test_read_format_tar_empty_with_gnulabel.c	\
19259e2ff55SEnji Cooper	test_read_format_tar_filename.c		\
193bd5e624aSMartin Matuska	test_read_format_tar_invalid_pax_size.c \
194*2e113ef8SMartin Matuska	test_read_format_tar_mac_metadata.c	\
195*2e113ef8SMartin Matuska	test_read_format_tar_pax_g_large.c	\
196bd66c1b4SMartin Matuska	test_read_format_tar_pax_large_attr.c	\
197*2e113ef8SMartin Matuska	test_read_format_tar_pax_negative_time.c	\
19859e2ff55SEnji Cooper	test_read_format_tbz.c			\
19959e2ff55SEnji Cooper	test_read_format_tgz.c			\
20059e2ff55SEnji Cooper	test_read_format_tlz.c			\
20159e2ff55SEnji Cooper	test_read_format_txz.c			\
20259e2ff55SEnji Cooper	test_read_format_tz.c			\
20359e2ff55SEnji Cooper	test_read_format_ustar_filename.c	\
204cdf63a70SMartin Matuska	test_read_format_warc.c			\
20559e2ff55SEnji Cooper	test_read_format_xar.c			\
20613d826ffSMartin Matuska	test_read_format_xar_doublelink.c	\
20759e2ff55SEnji Cooper	test_read_format_zip.c			\
20852c2bb75SMartin Matuska	test_read_format_zip_7075_utf8_paths.c	\
20959e2ff55SEnji Cooper	test_read_format_zip_comment_stored.c	\
210cdf63a70SMartin Matuska	test_read_format_zip_encryption_data.c	\
211cdf63a70SMartin Matuska	test_read_format_zip_encryption_header.c	\
212cdf63a70SMartin Matuska	test_read_format_zip_encryption_partially.c	\
21352c2bb75SMartin Matuska	test_read_format_zip_extra_padding.c	\
21459e2ff55SEnji Cooper	test_read_format_zip_filename.c		\
215cfa49a9bSMartin Matuska	test_read_format_zip_high_compression.c	\
2167105995cSMartin Matuska	test_read_format_zip_jar.c		\
21759e2ff55SEnji Cooper	test_read_format_zip_mac_metadata.c	\
218cdf63a70SMartin Matuska	test_read_format_zip_malformed.c	\
219cdf63a70SMartin Matuska	test_read_format_zip_msdos.c		\
220cdf63a70SMartin Matuska	test_read_format_zip_nested.c		\
221cdf63a70SMartin Matuska	test_read_format_zip_nofiletype.c	\
222cdf63a70SMartin Matuska	test_read_format_zip_padded.c		\
22359e2ff55SEnji Cooper	test_read_format_zip_sfx.c		\
224cdf63a70SMartin Matuska	test_read_format_zip_traditional_encryption_data.c	\
225cdf63a70SMartin Matuska	test_read_format_zip_winzip_aes.c	\
226cdf63a70SMartin Matuska	test_read_format_zip_winzip_aes_large.c	\
227a8fc61d5SMartin Matuska	test_read_format_zip_with_invalid_traditional_eocd.c	\
228cdf63a70SMartin Matuska	test_read_format_zip_zip64.c		\
22959e2ff55SEnji Cooper	test_read_large.c			\
230*2e113ef8SMartin Matuska	test_read_pax_empty_val_no_nl.c		\
231de6fa6b4SMartin Matuska	test_read_pax_xattr_rht_security_selinux.c	\
232de6fa6b4SMartin Matuska	test_read_pax_xattr_schily.c		\
23359e2ff55SEnji Cooper	test_read_pax_truncated.c		\
23459e2ff55SEnji Cooper	test_read_position.c			\
23559e2ff55SEnji Cooper	test_read_set_format.c			\
236cdf63a70SMartin Matuska	test_read_too_many_filters.c		\
23759e2ff55SEnji Cooper	test_read_truncated.c			\
23859e2ff55SEnji Cooper	test_read_truncated_filter.c		\
239ddce862aSMartin Matuska	test_short_writes.c			\
24059e2ff55SEnji Cooper	test_sparse_basic.c			\
24159e2ff55SEnji Cooper	test_tar_filenames.c			\
24259e2ff55SEnji Cooper	test_tar_large.c			\
243cdf63a70SMartin Matuska	test_warn_missing_hardlink_target.c	\
24459e2ff55SEnji Cooper	test_ustar_filenames.c			\
24559e2ff55SEnji Cooper	test_ustar_filename_encoding.c		\
24659e2ff55SEnji Cooper	test_write_disk.c			\
24759e2ff55SEnji Cooper	test_write_disk_appledouble.c		\
24859e2ff55SEnji Cooper	test_write_disk_failures.c		\
249ddce862aSMartin Matuska	test_write_disk_fixup.c			\
25059e2ff55SEnji Cooper	test_write_disk_hardlink.c		\
25159e2ff55SEnji Cooper	test_write_disk_hfs_compression.c	\
25259e2ff55SEnji Cooper	test_write_disk_lookup.c		\
25359e2ff55SEnji Cooper	test_write_disk_mac_metadata.c		\
25459e2ff55SEnji Cooper	test_write_disk_no_hfs_compression.c	\
25559e2ff55SEnji Cooper	test_write_disk_perms.c			\
25659e2ff55SEnji Cooper	test_write_disk_secure.c		\
257bd66c1b4SMartin Matuska	test_write_disk_secure_noabsolutepaths.c	\
258cfa49a9bSMartin Matuska	test_write_disk_secure744.c		\
25924113d8cSMartin Matuska	test_write_disk_secure745.c		\
26024113d8cSMartin Matuska	test_write_disk_secure746.c		\
26159e2ff55SEnji Cooper	test_write_disk_sparse.c		\
26259e2ff55SEnji Cooper	test_write_disk_symlink.c		\
26359e2ff55SEnji Cooper	test_write_disk_times.c			\
26459e2ff55SEnji Cooper	test_write_filter_b64encode.c		\
26559e2ff55SEnji Cooper	test_write_filter_bzip2.c		\
26659e2ff55SEnji Cooper	test_write_filter_compress.c		\
26759e2ff55SEnji Cooper	test_write_filter_gzip.c		\
26859e2ff55SEnji Cooper	test_write_filter_gzip_timestamp.c	\
26959e2ff55SEnji Cooper	test_write_filter_lrzip.c		\
270cdf63a70SMartin Matuska	test_write_filter_lz4.c			\
27159e2ff55SEnji Cooper	test_write_filter_lzip.c		\
27259e2ff55SEnji Cooper	test_write_filter_lzma.c		\
27359e2ff55SEnji Cooper	test_write_filter_lzop.c		\
27459e2ff55SEnji Cooper	test_write_filter_program.c		\
27559e2ff55SEnji Cooper	test_write_filter_uuencode.c		\
27659e2ff55SEnji Cooper	test_write_filter_xz.c			\
2775c831a5bSMartin Matuska	test_write_filter_zstd.c		\
27859e2ff55SEnji Cooper	test_write_format_7zip.c		\
27959e2ff55SEnji Cooper	test_write_format_7zip_empty.c		\
28059e2ff55SEnji Cooper	test_write_format_7zip_large.c		\
28159e2ff55SEnji Cooper	test_write_format_ar.c			\
28259e2ff55SEnji Cooper	test_write_format_cpio.c		\
28359e2ff55SEnji Cooper	test_write_format_cpio_empty.c		\
28459e2ff55SEnji Cooper	test_write_format_cpio_newc.c		\
28559e2ff55SEnji Cooper	test_write_format_cpio_odc.c		\
28659e2ff55SEnji Cooper	test_write_format_gnutar.c		\
287f061a221SMartin Matuska	test_write_format_gnutar_filenames.c	\
28859e2ff55SEnji Cooper	test_write_format_iso9660.c		\
28959e2ff55SEnji Cooper	test_write_format_iso9660_boot.c	\
29059e2ff55SEnji Cooper	test_write_format_iso9660_empty.c	\
29159e2ff55SEnji Cooper	test_write_format_iso9660_filename.c	\
29259e2ff55SEnji Cooper	test_write_format_iso9660_zisofs.c	\
29359e2ff55SEnji Cooper	test_write_format_mtree.c		\
29459e2ff55SEnji Cooper	test_write_format_mtree_absolute_path.c	\
29559e2ff55SEnji Cooper	test_write_format_mtree_classic.c	\
29659e2ff55SEnji Cooper	test_write_format_mtree_classic_indent.c	\
29759e2ff55SEnji Cooper	test_write_format_mtree_fflags.c	\
29859e2ff55SEnji Cooper	test_write_format_mtree_no_separator.c	\
299*2e113ef8SMartin Matuska	test_write_format_mtree_preset_digests.c	\
30059e2ff55SEnji Cooper	test_write_format_mtree_quoted_filename.c	\
30159e2ff55SEnji Cooper	test_write_format_pax.c			\
302cdf63a70SMartin Matuska	test_write_format_raw.c			\
303cdf63a70SMartin Matuska	test_write_format_raw_b64.c		\
30459e2ff55SEnji Cooper	test_write_format_shar_empty.c		\
30559e2ff55SEnji Cooper	test_write_format_tar.c			\
30659e2ff55SEnji Cooper	test_write_format_tar_empty.c		\
30759e2ff55SEnji Cooper	test_write_format_tar_sparse.c		\
30859e2ff55SEnji Cooper	test_write_format_tar_ustar.c		\
30959e2ff55SEnji Cooper	test_write_format_tar_v7tar.c		\
310cdf63a70SMartin Matuska	test_write_format_warc.c		\
311cdf63a70SMartin Matuska	test_write_format_warc_empty.c		\
31259e2ff55SEnji Cooper	test_write_format_xar.c			\
31359e2ff55SEnji Cooper	test_write_format_xar_empty.c		\
31459e2ff55SEnji Cooper	test_write_format_zip.c			\
315cdf63a70SMartin Matuska	test_write_format_zip_compression_store.c	\
316*2e113ef8SMartin Matuska	test_write_format_zip_compression_zstd.c	\
317*2e113ef8SMartin Matuska	test_write_format_zip_compression_bzip2.c	\
318*2e113ef8SMartin Matuska	test_write_format_zip_compression_lzmaxz.c	\
31959e2ff55SEnji Cooper	test_write_format_zip_empty.c		\
320cdf63a70SMartin Matuska	test_write_format_zip_empty_zip64.c	\
321833a452eSMartin Matuska	test_write_format_zip_entry_size_unset.c	\
322cdf63a70SMartin Matuska	test_write_format_zip_file.c		\
323cdf63a70SMartin Matuska	test_write_format_zip_file_zip64.c	\
324cdf63a70SMartin Matuska	test_write_format_zip_large.c		\
325cdf63a70SMartin Matuska	test_write_format_zip_zip64.c		\
326b9128a37SMartin Matuska	test_write_format_zip64_stream.c	\
327b9128a37SMartin Matuska	test_write_format_zip_stream.c		\
328bd66c1b4SMartin Matuska	test_write_format_zip_windows_path.c	\
32959e2ff55SEnji Cooper	test_write_open_memory.c		\
330cdf63a70SMartin Matuska	test_write_read_format_zip.c		\
331e46d4714SMartin Matuska	test_xattr_platform.c			\
33259e2ff55SEnji Cooper	test_zip_filename_encoding.c
33359e2ff55SEnji Cooper
33459e2ff55SEnji Cooper# Deterministic failures:
33559e2ff55SEnji Cooper# Fails with `test_read_disk_directory_traversals.c:1094: File at has atime 886622, 1443306049 seconds ago`
33659e2ff55SEnji CooperBROKEN_TESTS+=			test_read_disk_directory_traversals
33759e2ff55SEnji Cooper
3383454fa11SAlex Richardson.if 0
3393454fa11SAlex Richardson# test_fuzz.c is not a real test, but rather a simple fuzz-test using random().
3403454fa11SAlex Richardson# Since this is not a regression/unit test, we don't include it by default.
3413454fa11SAlex Richardson# If you would still like to include it, comment out the `.if 0`.
3423454fa11SAlex RichardsonTEST_SCRCS+=	test_fuzz.c
3433454fa11SAlex Richardson${PACKAGE}FILES+=	test_fuzz.cab.uu
3443454fa11SAlex Richardson${PACKAGE}FILES+=	test_fuzz.lzh.uu
3453454fa11SAlex Richardson${PACKAGE}FILES+=	test_fuzz_1.iso.Z.uu
34659e2ff55SEnji Cooper# Non-deterministic failures:
34759e2ff55SEnji Cooper# (Times out?) [and] crashes
34859e2ff55SEnji CooperBROKEN_TESTS+=			test_fuzz_rar
3493454fa11SAlex Richardson.endif
35059e2ff55SEnji Cooper
35159e2ff55SEnji Cooper# Build the test program.
35259e2ff55SEnji CooperSRCS.libarchive_test=		\
35359e2ff55SEnji Cooper	${TESTS_SRCS}		\
354277fbb92SBryan Drewery	read_open_memory.c	\
35559e2ff55SEnji Cooper	list.h
35659e2ff55SEnji Cooper
35759e2ff55SEnji CooperLIBADD.libarchive_test=	archive
35859e2ff55SEnji Cooper
3593c89d6b0SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/test_utils
36064287048SMartin MatuskaSRCS.libarchive_test+=	test_main.c	\
36164287048SMartin Matuska			test_utils.c
36259e2ff55SEnji Cooper
36359e2ff55SEnji Cooper# list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines
36459e2ff55SEnji Cooperlist.h: ${TESTS_SRCS} Makefile
3653c89d6b0SBryan Drewery	@(cd ${_LIBARCHIVEDIR}/libarchive/test && \
366cdf63a70SMartin Matuska	grep -E -h ^DEFINE_TEST ${.ALLSRC:N*Makefile} | \
36759e2ff55SEnji Cooper	    egrep -v '${BROKEN_TESTS:tW:C/ /|/g}') > ${.TARGET}.tmp
36859e2ff55SEnji Cooper	@mv ${.TARGET}.tmp ${.TARGET}
36959e2ff55SEnji Cooper
370430f7286SEnji CooperCLEANTESTS+=	list.h list.h.tmp
371430f7286SEnji Cooper${PACKAGE}FILES+=	README
372e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_acl_pax_posix1e.tar.uu
373e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_acl_pax_nfs4.tar.uu
374430f7286SEnji Cooper${PACKAGE}FILES+=	test_archive_string_conversion.txt.Z.uu
375430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_bzip2_1.tbz.uu
376430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_bzip2_2.tbz.uu
377430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_cpio_1.cpio.uu
378430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gtar_1.tar.uu
379d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_compat_gtar_2.tar.uu
380430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gzip_1.tgz.uu
381430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gzip_2.tgz.uu
382cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_1.tar.lz4.uu
383cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_2.tar.lz4.uu
384cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_3.tar.lz4.uu
385cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4.tar.lz4.uu
386cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4BD.tar.lz4.uu
387cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4BDBX.tar.lz4.uu
388cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B5.tar.lz4.uu
389cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B5BD.tar.lz4.uu
390cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B6.tar.lz4.uu
391cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B6BD.tar.lz4.uu
392cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B7.tar.lz4.uu
393cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B7BD.tar.lz4.uu
394430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzip_1.tlz.uu
395430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzip_2.tlz.uu
3967d03ec33SMartin Matuska${PACKAGE}FILES+=	test_compat_lzip_3.lz.uu
3977d03ec33SMartin Matuska${PACKAGE}FILES+=	test_compat_lzip_4.tlz.uu
398430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_1.tlz.uu
399430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_2.tlz.uu
400430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_3.tlz.uu
401430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_1.tar.lzo.uu
402430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_2.tar.lzo.uu
403430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_3.tar.lzo.uu
404430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_mac-1.tar.Z.uu
405430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_mac-2.tar.Z.uu
406007dbc1fSMartin Matuska${PACKAGE}FILES+=	test_compat_perl_archive_tar.tar.uu
407a2e802b7SMartin Matuska${PACKAGE}FILES+=	test_compat_plexus_archiver_tar.tar.uu
408430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_1.pax.Z.uu
409430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_2.pax.Z.uu
410430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_tar_acl.tar.uu
411e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_compat_star_acl_nfs4.tar.uu
412d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_compat_star_acl_posix1e.tar.uu
413833a452eSMartin Matuska${PACKAGE}FILES+=	test_compat_tar_directory_1.tar.uu
414430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_tar_hardlink_1.tar.uu
415cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_uudecode_large.tar.Z.uu
416430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_xz_1.txz.uu
417430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_1.zip.uu
418430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_2.zip.uu
419430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_3.zip.uu
420430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_4.zip.uu
421430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_5.zip.uu
422430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_6.zip.uu
423430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_7.xps.uu
424a2a3407cSMartin Matuska${PACKAGE}FILES+=	test_compat_zip_8.zip.uu
4255c831a5bSMartin Matuska${PACKAGE}FILES+=	test_compat_zstd_1.tar.zst.uu
426de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_compat_zstd_2.tar.zst.uu
427430f7286SEnji Cooper${PACKAGE}FILES+=	test_pax_filename_encoding.tar.uu
42879085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_all.tar.uu
42979085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_libarchive.tar.uu
43079085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_schily.tar.uu
431430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part1.rar.uu
432430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part2.rar.uu
433430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part3.rar.uu
434430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part4.rar.uu
435430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part5.rar.uu
436430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part6.rar.uu
437430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part1.rar.uu
438430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part2.rar.uu
439430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part3.rar.uu
440430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part01.rar.uu
441430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part02.rar.uu
442430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part03.rar.uu
443430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part04.rar.uu
444430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part05.rar.uu
445430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part06.rar.uu
446430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part07.rar.uu
447430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part08.rar.uu
448430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part09.rar.uu
449430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part10.rar.uu
450430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_grzip.tar.grz.uu
451bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_filter_gzip_recursive.gz.uu
452430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lrzip.tar.lrz.uu
453430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lzop.tar.lzo.uu
454430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lzop_multiple_parts.tar.lzo.uu
455b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_filter_uudecode_base64_raw.uu
456b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_filter_uudecode_raw.uu
457430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_bzip2.7z.uu
458430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_1.7z.uu
459430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_2.7z.uu
460430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_lzma.7z.uu
461430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_deflate.7z.uu
462e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_deflate_arm64.7z.uu
463*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_deflate_powerpc.7z.uu
464430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_1.7z.uu
465430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_2.7z.uu
466430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_1.7z.uu
467430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_2.7z.uu
468430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_bzip2.7z.uu
469430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_copy.7z.uu
470430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_deflate.7z.uu
471430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma1.7z.uu
472430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma2.7z.uu
473430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bzip2.7z.uu
474430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_copy.7z.uu
475430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_copy_2.7z.uu
476430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_deflate.7z.uu
477430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma1.7z.uu
478430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma2.7z.uu
479f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma1.7z.uu
480f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma2.7z.uu
481430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_empty_archive.7z.uu
482430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_empty_file.7z.uu
483cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption.7z.uu
484cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption_header.7z.uu
485cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption_partially.7z.uu
486bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_extract_second.7z.uu
487430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1.7z.uu
488430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1_2.7z.uu
489430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1_lzma2.7z.uu
490430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma2.7z.uu
491e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_arm.7z.uu
492e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_arm64.7z.uu
493*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_powerpc.7z.uu
494*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_riscv.7z.uu
495*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_sparc.7z.uu
496cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_malformed.7z.uu
497cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_malformed2.7z.uu
49879085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_packinfo_digests.7z.uu
499430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_ppmd.7z.uu
500*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_sfx_elf.elf.uu
501*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_sfx_modified_pe.exe.uu
502*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_sfx_pe.exe.uu
503e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_solid_zstd.7z.uu
504430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_symbolic_name.7z.uu
505e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd.7z.uu
506e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_arm.7z.uu
507e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_bcj.7z.uu
508e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_nobcj.7z.uu
509*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_sparc.7z.uu
510b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_win_attrib.7z.uu
511430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ar.ar.uu
512430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_1.cab.uu
513430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_2.cab.uu
514430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_3.cab.uu
515430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_filename_cp932.cab.uu
516430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_bin_be.cpio.uu
517cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_cpio_bin_le.cpio.uu
518430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_cp866.cpio.uu
519430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_eucjp.cpio.uu
520430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_koi8r.cpio.uu
521430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_jp.cpio.uu
522430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_ru.cpio.uu
523430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_svr4_bzip2_rpm.rpm.uu
524430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_svr4_gzip_rpm.rpm.uu
525430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_cp866.tar.Z.uu
526430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_eucjp.tar.Z.uu
527430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_koi8r.tar.Z.uu
528*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_gtar_redundant_L.tar.Z.uu
529430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_13.tar.uu
530430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17.tar.uu
531430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix00.tar.uu
532430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix01.tar.uu
533430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10.tar.uu
534430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu
535*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_gtar_sparse_length.tar.Z.uu
536430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_skip_entry.tar.Z.uu
537bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_huge_rpm.rpm.uu
538430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso.iso.Z.uu
539430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_2.iso.Z.uu
540bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_iso_3.iso.Z.uu
541430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet.iso.Z.uu
542430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_by_nero.iso.Z.uu
543430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_long.iso.Z.uu
544430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_rockridge.iso.Z.uu
545430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_multi_extent.iso.Z.uu
546430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge.iso.Z.uu
547430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_ce.iso.Z.uu
548430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_new.iso.Z.uu
549430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_rr_moved.iso.Z.uu
550430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_xorriso.iso.Z.uu
551430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_zisofs.iso.Z.uu
552cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_lha_bugfix_0.lzh.uu
553430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_filename_cp932.lzh.uu
55479085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_lha_filename_utf16.lzh.uu
555430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header0.lzh.uu
556430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header1.lzh.uu
557430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header2.lzh.uu
558430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header3.lzh.uu
559430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh0.lzh.uu
560430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh6.lzh.uu
561430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh7.lzh.uu
562430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_withjunk.lzh.uu
563430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree.mtree.uu
564f3e9b21aSMartin Matuska${PACKAGE}FILES+=	test_read_format_mtree_crash747.mtree.bz2.uu
565430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic.mtree.uu
566430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic2.mtree.uu
567430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic3.mtree.uu
56852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_mtree_noprint.mtree.uu
569430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar.rar.uu
570430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_binary_data.rar.uu
571430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_compress_best.rar.uu
572430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_compress_normal.rar.uu
573cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_data.rar.uu
574cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_header.rar.uu
575cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_partially.rar.uu
576*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_endarc_huge.rar.uu
577833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_filter.rar.uu
578f061a221SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_invalid1.rar.uu
579430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multi_lzss_blocks.rar.uu
580430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0001.rar.uu
581430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0002.rar.uu
582430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0003.rar.uu
583430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0004.rar.uu
584*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_newsub_huge.rar.uu
585430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_noeof.rar.uu
586*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_overflow.rar.uu
587430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_ppmd_lzss_conversion.rar.uu
58852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free.rar.uu
5897d8ec1b7SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free2.rar.uu
590430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_sfx.exe.uu
591430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_subblock.rar.uu
592*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_symlink_huge.rar.uu
593430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_unicode.rar.uu
594430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_windows.rar.uu
595bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar4_encrypted.rar.uu
596bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar4_encrypted_filenames.rar.uu
597bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar4_solid_encrypted.rar.uu
598bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar4_solid_encrypted_filenames.rar.uu
599b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_arm.rar.uu
60042b1c3afSLi-Wen Hsu${PACKAGE}FILES+=	test_read_format_rar5_arm_filter_on_window_boundary.rar.uu
601833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu
602bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_data_ready_pointer_leak.rar.uu
603b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_blake2.rar.uu
604f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_block_size_is_too_small.rar.uu
605b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_compressed.rar.uu
606833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_decode_number_out_of_bounds_read.rar.uu
60779085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_solid_window_size.rar.uu
6087d8ec1b7SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_window_size.rar.uu
60979085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_winsize_on_merge.rar.uu
61052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_distance_overflow.rar.uu
611bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_encrypted.rar.uu
612bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_encrypted_filenames.rar.uu
613bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_solid_encrypted.rar.uu
614bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_solid_encrypted_filenames.rar.uu
61552c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_extra_field_version.rar.uu
61652c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_fileattr.rar.uu
61752c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_hardlink.rar.uu
61852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_invalid_dict_reference.rar.uu
61952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_leftshift1.rar.uu
62052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_leftshift2.rar.uu
621b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part01.rar.uu
622b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part02.rar.uu
623b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part03.rar.uu
624b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part04.rar.uu
625b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part05.rar.uu
626b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part06.rar.uu
627b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part07.rar.uu
628b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part08.rar.uu
629b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part01.rar.uu
630b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part02.rar.uu
631b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part03.rar.uu
632b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part04.rar.uu
633b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiple_files.rar.uu
634b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiple_files_solid.rar.uu
63552c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_nonempty_dir_stream.rar.uu
63652c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_owner.rar.uu
63752c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_readtables_overflow.rar.uu
638833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_sfx.exe.uu
639b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_solid.rar.uu
640b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_stored.rar.uu
641b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_stored_manyfiles.rar.uu
64252c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_symlink.rar.uu
64352c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_truncated_huff.rar.uu
644b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_unicode.rar.uu
645b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_win32.rar.uu
646833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_window_buf_and_size_desync.rar.uu
647d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_read_format_raw.bufr.uu
648430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_raw.data.Z.uu
64952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_raw.data.gz.uu
650430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_raw.data.uu
651cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_concatenated.tar.uu
652430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_tar_empty_filename.tar.uu
65352c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_empty_with_gnulabel.tar.uu
654cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_empty_pax.tar.Z.uu
655430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_tar_filename_koi8r.tar.Z.uu
656bd5e624aSMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_invalid_pax_size.tar.uu
657*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_mac_metadata_1.tar.uu
658*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_pax_g_large.tar.uu
659bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_pax_large_attr.tar.Z.uu
660*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_pax_negative_time.tar.uu
661430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_cp866.tar.Z.uu
662430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_eucjp.tar.Z.uu
663430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_koi8r.tar.Z.uu
664cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_warc.warc.uu
665*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_format_warc_incomplete.warc.uu
66613d826ffSMartin Matuska${PACKAGE}FILES+=	test_read_format_xar_doublelink.xar.uu
667bd66c1b4SMartin Matuska${PACKAGE}FILES+=	test_read_format_xar_duplicate_filename_node.xar.uu
668430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip.zip.uu
669d08b7fa2SLi-Wen Hsu${PACKAGE}FILES+=	test_read_format_zip_7075_utf8_paths.zip.uu
670ddce862aSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_7z_deflate.zip.uu
671c3afd20fSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_7z_lzma.zip.uu
672df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bz2_hang.zip.uu
673a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bzip2.zipx.uu
674a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bzip2_multi.zipx.uu
675430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_comment_stored_1.zip.uu
676430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_comment_stored_2.zip.uu
677cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_data.zip.uu
678cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_header.zip.uu
679cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_partially.zip.uu
68052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_extra_padding.zip.uu
681430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_cp866.zip.uu
682430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_cp932.zip.uu
683430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_koi8r.zip.uu
684430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_jp.zip.uu
685430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru.zip.uu
686430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru2.zip.uu
687cfa49a9bSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_high_compression.zip.uu
6887105995cSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_jar.jar.uu
689430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_length_at_end.zip.uu
69052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_alone_leak.zipx.uu
69152c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma.zipx.uu
692a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_multi.zipx.uu
693f55be4fcSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_stream_end.zipx.uu
694430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_mac_metadata.zip.uu
695cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_malformed1.zip.uu
696cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_msdos.zip.uu
697cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_nested.zip.uu
698cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_nofiletype.zip.uu
699cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded1.zip.uu
700cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded2.zip.uu
701cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded3.zip.uu
702a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8.zipx.uu
703df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_1.zipx.uu
704df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_2.zipx.uu
705a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_multi.zipx.uu
706430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_sfx.uu
707430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_symlink.zip.uu
708cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_traditional_encryption_data.zip.uu
709430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_ux.zip.uu
710a8fc61d5SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_with_invalid_traditional_eocd.zip.uu
711cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes128.zip.uu
712cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256.zip.uu
713cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_large.zip.uu
714cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_stored.zip.uu
715a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_xz_multi.zipx.uu
716cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zip64a.zip.uu
717cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zip64b.zip.uu
718833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zstd.zipx.uu
719833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zstd_multi.zipx.uu
720430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_aa.uu
721430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ab.uu
722430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ac.uu
723430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ad.uu
724430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ae.uu
725*2e113ef8SMartin Matuska${PACKAGE}FILES+=	test_read_pax_empty_val_no_nl.tar.uu
726de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_read_pax_xattr_rht_security_selinux.tar.uu
727de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_read_pax_xattr_schily.tar.uu
728430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_aa.uu
729430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ab.uu
730430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ac.uu
731430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ad.uu
732cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_too_many_filters.gz.uu
733430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_aa.uu
734430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_ab.uu
735430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_ac.uu
736430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_appledouble.cpio.gz.uu
73713d826ffSMartin Matuska${PACKAGE}FILES+=	test_write_disk_appledouble_zip.zip.uu
738430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_hfs_compression.tgz.uu
739430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_mac_metadata.tar.gz.uu
740430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_no_hfs_compression.tgz.uu
74159e2ff55SEnji Cooper
74259e2ff55SEnji Cooper.include <bsd.test.mk>
743