xref: /freebsd-13.1/lib/libarchive/tests/Makefile (revision bfa5e585)
159e2ff55SEnji Cooper# $FreeBSD$
272f97a2dSAlex Richardson.include <src.opts.mk>
359e2ff55SEnji Cooper
443faedc1SGlen BarberPACKAGE=	tests
543faedc1SGlen Barber
6fe815331SKyle EvansWARNS?=		3
7fe815331SKyle Evans
83c89d6b0SBryan Drewery_LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
959e2ff55SEnji Cooper
1059e2ff55SEnji CooperATF_TESTS_SH+=	functional_test
1159e2ff55SEnji Cooper
12cda20f96SRuslan BukinTEST_METADATA.functional_test+=	timeout="600"
13cda20f96SRuslan Bukin
1459e2ff55SEnji CooperBINDIR=	${TESTSDIR}
1559e2ff55SEnji Cooper
1659e2ff55SEnji CooperPROGS+=	libarchive_test
1759e2ff55SEnji Cooper
18a08cc1eeSEnji CooperCFLAGS+= -I${.CURDIR} -I${.CURDIR:H} -I${.OBJDIR}
1964287048SMartin MatuskaCFLAGS+= -I${_LIBARCHIVEDIR}/libarchive -I${_LIBARCHIVEDIR}/libarchive/test
2064287048SMartin MatuskaCFLAGS+= -I${_LIBARCHIVEDIR}/test_utils
2159e2ff55SEnji Cooper
22*bfa5e585SMartin MatuskaCFLAGS.test_utils.c+=	-Wno-cast-align
23*bfa5e585SMartin 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= \
3059e2ff55SEnji Cooper	test_acl_nfs4.c				\
3159e2ff55SEnji Cooper	test_acl_pax.c				\
329f3de9e2SMartin Matuska	test_acl_platform_nfs4.c		\
339f3de9e2SMartin Matuska	test_acl_platform_posix1e.c		\
3459e2ff55SEnji Cooper	test_acl_posix1e.c			\
35e9ed7ea4SMartin Matuska	test_acl_text.c				\
3659e2ff55SEnji Cooper	test_archive_api_feature.c		\
3759e2ff55SEnji Cooper	test_archive_clear_error.c		\
3859e2ff55SEnji Cooper	test_archive_cmdline.c			\
39cdf63a70SMartin Matuska	test_archive_digest.c			\
4059e2ff55SEnji Cooper	test_archive_getdate.c			\
4159e2ff55SEnji Cooper	test_archive_match_time.c		\
4259e2ff55SEnji Cooper	test_archive_match_owner.c		\
4359e2ff55SEnji Cooper	test_archive_match_path.c		\
4459e2ff55SEnji Cooper	test_archive_pathmatch.c		\
45cdf63a70SMartin Matuska	test_archive_read_add_passphrase.c	\
4659e2ff55SEnji Cooper	test_archive_read_close_twice.c		\
4759e2ff55SEnji Cooper	test_archive_read_close_twice_open_fd.c	\
4859e2ff55SEnji Cooper	test_archive_read_close_twice_open_filename.c	\
4959e2ff55SEnji Cooper	test_archive_read_multiple_data_objects.c	\
5059e2ff55SEnji Cooper	test_archive_read_next_header_empty.c	\
5159e2ff55SEnji Cooper	test_archive_read_next_header_raw.c	\
5259e2ff55SEnji Cooper	test_archive_read_open2.c		\
5359e2ff55SEnji Cooper	test_archive_read_set_filter_option.c	\
5459e2ff55SEnji Cooper	test_archive_read_set_format_option.c	\
5559e2ff55SEnji Cooper	test_archive_read_set_option.c		\
5659e2ff55SEnji Cooper	test_archive_read_set_options.c		\
5759e2ff55SEnji Cooper	test_archive_read_support.c		\
5859e2ff55SEnji Cooper	test_archive_set_error.c		\
5959e2ff55SEnji Cooper	test_archive_string.c			\
6059e2ff55SEnji Cooper	test_archive_string_conversion.c	\
6159e2ff55SEnji Cooper	test_archive_write_add_filter_by_name.c	\
6259e2ff55SEnji Cooper	test_archive_write_set_filter_option.c	\
6359e2ff55SEnji Cooper	test_archive_write_set_format_by_name.c	\
64cdf63a70SMartin Matuska	test_archive_write_set_format_filter_by_ext.c \
6559e2ff55SEnji Cooper	test_archive_write_set_format_option.c	\
6659e2ff55SEnji Cooper	test_archive_write_set_option.c		\
6759e2ff55SEnji Cooper	test_archive_write_set_options.c	\
68cdf63a70SMartin Matuska	test_archive_write_set_passphrase.c	\
6959e2ff55SEnji Cooper	test_bad_fd.c				\
7059e2ff55SEnji Cooper	test_compat_bzip2.c			\
7159e2ff55SEnji Cooper	test_compat_cpio.c			\
7259e2ff55SEnji Cooper	test_compat_gtar.c			\
7359e2ff55SEnji Cooper	test_compat_gzip.c			\
74cdf63a70SMartin Matuska	test_compat_lz4.c			\
7559e2ff55SEnji Cooper	test_compat_lzip.c			\
7659e2ff55SEnji Cooper	test_compat_lzma.c			\
7759e2ff55SEnji Cooper	test_compat_lzop.c			\
7859e2ff55SEnji Cooper	test_compat_mac.c			\
79007dbc1fSMartin Matuska	test_compat_perl_archive_tar.c		\
80a2e802b7SMartin Matuska	test_compat_plexus_archiver_tar.c	\
8159e2ff55SEnji Cooper	test_compat_solaris_tar_acl.c		\
8259e2ff55SEnji Cooper	test_compat_solaris_pax_sparse.c	\
83e9ed7ea4SMartin Matuska	test_compat_star_acl.c			\
84*bfa5e585SMartin Matuska	test_compat_tar_directory.c		\
8559e2ff55SEnji Cooper	test_compat_tar_hardlink.c		\
8659e2ff55SEnji Cooper	test_compat_uudecode.c			\
87cdf63a70SMartin Matuska	test_compat_uudecode_large.c		\
8859e2ff55SEnji Cooper	test_compat_xz.c			\
8959e2ff55SEnji Cooper	test_compat_zip.c			\
905c831a5bSMartin Matuska	test_compat_zstd.c			\
9159e2ff55SEnji Cooper	test_empty_write.c			\
9259e2ff55SEnji Cooper	test_entry.c				\
9359e2ff55SEnji Cooper	test_entry_strmode.c			\
9459e2ff55SEnji Cooper	test_extattr_freebsd.c			\
9559e2ff55SEnji Cooper	test_filter_count.c			\
9659e2ff55SEnji Cooper	test_gnutar_filename_encoding.c		\
9759e2ff55SEnji Cooper	test_link_resolver.c			\
9859e2ff55SEnji Cooper	test_open_fd.c				\
9959e2ff55SEnji Cooper	test_open_failure.c			\
10059e2ff55SEnji Cooper	test_open_file.c			\
10159e2ff55SEnji Cooper	test_open_filename.c			\
10259e2ff55SEnji Cooper	test_pax_filename_encoding.c		\
10379085fd3SMartin Matuska	test_pax_xattr_header.c			\
10459e2ff55SEnji Cooper	test_read_data_large.c			\
10559e2ff55SEnji Cooper	test_read_disk.c			\
10659e2ff55SEnji Cooper	test_read_disk_directory_traversals.c	\
10759e2ff55SEnji Cooper	test_read_disk_entry_from_file.c	\
10859e2ff55SEnji Cooper	test_read_extract.c			\
10959e2ff55SEnji Cooper	test_read_file_nonexistent.c		\
110cdf63a70SMartin Matuska	test_read_filter_compress.c		\
11159e2ff55SEnji Cooper	test_read_filter_grzip.c		\
11259e2ff55SEnji Cooper	test_read_filter_lrzip.c		\
11359e2ff55SEnji Cooper	test_read_filter_lzop.c			\
11459e2ff55SEnji Cooper	test_read_filter_lzop_multiple_parts.c	\
11559e2ff55SEnji Cooper	test_read_filter_program.c		\
11659e2ff55SEnji Cooper	test_read_filter_program_signature.c	\
11759e2ff55SEnji Cooper	test_read_filter_uudecode.c		\
11859e2ff55SEnji Cooper	test_read_format_7zip.c			\
119cdf63a70SMartin Matuska	test_read_format_7zip_encryption_data.c \
120cdf63a70SMartin Matuska	test_read_format_7zip_encryption_header.c	\
121cdf63a70SMartin Matuska	test_read_format_7zip_encryption_partially.c	\
122cdf63a70SMartin Matuska	test_read_format_7zip_malformed.c	\
12379085fd3SMartin Matuska	test_read_format_7zip_packinfo_digests.c	\
12459e2ff55SEnji Cooper	test_read_format_ar.c			\
12559e2ff55SEnji Cooper	test_read_format_cab.c			\
12659e2ff55SEnji Cooper	test_read_format_cab_filename.c		\
12759e2ff55SEnji Cooper	test_read_format_cpio_afio.c		\
12859e2ff55SEnji Cooper	test_read_format_cpio_bin.c		\
12959e2ff55SEnji Cooper	test_read_format_cpio_bin_Z.c		\
13059e2ff55SEnji Cooper	test_read_format_cpio_bin_be.c		\
13159e2ff55SEnji Cooper	test_read_format_cpio_bin_bz2.c		\
13259e2ff55SEnji Cooper	test_read_format_cpio_bin_gz.c		\
133cdf63a70SMartin Matuska	test_read_format_cpio_bin_le.c		\
13459e2ff55SEnji Cooper	test_read_format_cpio_bin_lzip.c	\
13559e2ff55SEnji Cooper	test_read_format_cpio_bin_lzma.c	\
13659e2ff55SEnji Cooper	test_read_format_cpio_bin_xz.c		\
13759e2ff55SEnji Cooper	test_read_format_cpio_filename.c	\
13859e2ff55SEnji Cooper	test_read_format_cpio_odc.c		\
13959e2ff55SEnji Cooper	test_read_format_cpio_svr4_gzip.c	\
14059e2ff55SEnji Cooper	test_read_format_cpio_svr4c_Z.c		\
14159e2ff55SEnji Cooper	test_read_format_cpio_svr4_bzip2_rpm.c	\
14259e2ff55SEnji Cooper	test_read_format_cpio_svr4_gzip_rpm.c	\
14359e2ff55SEnji Cooper	test_read_format_empty.c		\
14459e2ff55SEnji Cooper	test_read_format_gtar_filename.c	\
14559e2ff55SEnji Cooper	test_read_format_gtar_gz.c		\
14659e2ff55SEnji Cooper	test_read_format_gtar_lzma.c		\
14759e2ff55SEnji Cooper	test_read_format_gtar_sparse.c		\
14859e2ff55SEnji Cooper	test_read_format_gtar_sparse_skip_entry.c \
14959e2ff55SEnji Cooper	test_read_format_iso_Z.c		\
15059e2ff55SEnji Cooper	test_read_format_iso_multi_extent.c	\
15159e2ff55SEnji Cooper	test_read_format_iso_xorriso.c		\
15259e2ff55SEnji Cooper	test_read_format_isorr_rr_moved.c	\
15359e2ff55SEnji Cooper	test_read_format_isojoliet_bz2.c	\
15459e2ff55SEnji Cooper	test_read_format_isojoliet_long.c	\
15559e2ff55SEnji Cooper	test_read_format_isojoliet_rr.c		\
15659e2ff55SEnji Cooper	test_read_format_isojoliet_versioned.c	\
15759e2ff55SEnji Cooper	test_read_format_isorr_bz2.c		\
15859e2ff55SEnji Cooper	test_read_format_isorr_ce.c		\
15959e2ff55SEnji Cooper	test_read_format_isorr_new_bz2.c	\
16059e2ff55SEnji Cooper	test_read_format_isozisofs_bz2.c	\
16159e2ff55SEnji Cooper	test_read_format_lha.c			\
162cdf63a70SMartin Matuska	test_read_format_lha_bugfix_0.c		\
16359e2ff55SEnji Cooper	test_read_format_lha_filename.c		\
16479085fd3SMartin Matuska	test_read_format_lha_filename_utf16.c	\
16559e2ff55SEnji Cooper	test_read_format_mtree.c		\
166f3e9b21aSMartin Matuska	test_read_format_mtree_crash747.c	\
16759e2ff55SEnji Cooper	test_read_format_pax_bz2.c		\
16859e2ff55SEnji Cooper	test_read_format_rar.c			\
169b1c91e4bSMartin Matuska	test_read_format_rar5.c			\
170cdf63a70SMartin Matuska	test_read_format_rar_encryption_data.c	\
171cdf63a70SMartin Matuska	test_read_format_rar_encryption_header.c	\
172cdf63a70SMartin Matuska	test_read_format_rar_encryption_partially.c	\
173*bfa5e585SMartin Matuska	test_read_format_rar_filter.c		\
174f061a221SMartin Matuska	test_read_format_rar_invalid1.c		\
17559e2ff55SEnji Cooper	test_read_format_raw.c			\
17659e2ff55SEnji Cooper	test_read_format_tar.c			\
177cdf63a70SMartin Matuska	test_read_format_tar_concatenated.c	\
17859e2ff55SEnji Cooper	test_read_format_tar_empty_filename.c	\
179cdf63a70SMartin Matuska	test_read_format_tar_empty_pax.c	\
18052c2bb75SMartin Matuska	test_read_format_tar_empty_with_gnulabel.c	\
18159e2ff55SEnji Cooper	test_read_format_tar_filename.c		\
18259e2ff55SEnji Cooper	test_read_format_tbz.c			\
18359e2ff55SEnji Cooper	test_read_format_tgz.c			\
18459e2ff55SEnji Cooper	test_read_format_tlz.c			\
18559e2ff55SEnji Cooper	test_read_format_txz.c			\
18659e2ff55SEnji Cooper	test_read_format_tz.c			\
18759e2ff55SEnji Cooper	test_read_format_ustar_filename.c	\
188cdf63a70SMartin Matuska	test_read_format_warc.c			\
18959e2ff55SEnji Cooper	test_read_format_xar.c			\
19059e2ff55SEnji Cooper	test_read_format_zip.c			\
19152c2bb75SMartin Matuska	test_read_format_zip_7075_utf8_paths.c	\
19259e2ff55SEnji Cooper	test_read_format_zip_comment_stored.c	\
193cdf63a70SMartin Matuska	test_read_format_zip_encryption_data.c	\
194cdf63a70SMartin Matuska	test_read_format_zip_encryption_header.c	\
195cdf63a70SMartin Matuska	test_read_format_zip_encryption_partially.c	\
19652c2bb75SMartin Matuska	test_read_format_zip_extra_padding.c	\
19759e2ff55SEnji Cooper	test_read_format_zip_filename.c		\
198cfa49a9bSMartin Matuska	test_read_format_zip_high_compression.c	\
1997105995cSMartin Matuska	test_read_format_zip_jar.c		\
20059e2ff55SEnji Cooper	test_read_format_zip_mac_metadata.c	\
201cdf63a70SMartin Matuska	test_read_format_zip_malformed.c	\
202cdf63a70SMartin Matuska	test_read_format_zip_msdos.c		\
203cdf63a70SMartin Matuska	test_read_format_zip_nested.c		\
204cdf63a70SMartin Matuska	test_read_format_zip_nofiletype.c	\
205cdf63a70SMartin Matuska	test_read_format_zip_padded.c		\
20659e2ff55SEnji Cooper	test_read_format_zip_sfx.c		\
207cdf63a70SMartin Matuska	test_read_format_zip_traditional_encryption_data.c	\
208cdf63a70SMartin Matuska	test_read_format_zip_winzip_aes.c	\
209cdf63a70SMartin Matuska	test_read_format_zip_winzip_aes_large.c	\
210a8fc61d5SMartin Matuska	test_read_format_zip_with_invalid_traditional_eocd.c	\
211cdf63a70SMartin Matuska	test_read_format_zip_zip64.c		\
21259e2ff55SEnji Cooper	test_read_large.c			\
213de6fa6b4SMartin Matuska	test_read_pax_xattr_rht_security_selinux.c	\
214de6fa6b4SMartin Matuska	test_read_pax_xattr_schily.c		\
21559e2ff55SEnji Cooper	test_read_pax_truncated.c		\
21659e2ff55SEnji Cooper	test_read_position.c			\
21759e2ff55SEnji Cooper	test_read_set_format.c			\
218cdf63a70SMartin Matuska	test_read_too_many_filters.c		\
21959e2ff55SEnji Cooper	test_read_truncated.c			\
22059e2ff55SEnji Cooper	test_read_truncated_filter.c		\
221aef1ff87SMartin Matuska	test_short_writes.c			\
22259e2ff55SEnji Cooper	test_sparse_basic.c			\
22359e2ff55SEnji Cooper	test_tar_filenames.c			\
22459e2ff55SEnji Cooper	test_tar_large.c			\
225cdf63a70SMartin Matuska	test_warn_missing_hardlink_target.c	\
22659e2ff55SEnji Cooper	test_ustar_filenames.c			\
22759e2ff55SEnji Cooper	test_ustar_filename_encoding.c		\
22859e2ff55SEnji Cooper	test_write_disk.c			\
22959e2ff55SEnji Cooper	test_write_disk_appledouble.c		\
23059e2ff55SEnji Cooper	test_write_disk_failures.c		\
231aef1ff87SMartin Matuska	test_write_disk_fixup.c			\
23259e2ff55SEnji Cooper	test_write_disk_hardlink.c		\
23359e2ff55SEnji Cooper	test_write_disk_hfs_compression.c	\
23459e2ff55SEnji Cooper	test_write_disk_lookup.c		\
23559e2ff55SEnji Cooper	test_write_disk_mac_metadata.c		\
23659e2ff55SEnji Cooper	test_write_disk_no_hfs_compression.c	\
23759e2ff55SEnji Cooper	test_write_disk_perms.c			\
23859e2ff55SEnji Cooper	test_write_disk_secure.c		\
239cfa49a9bSMartin Matuska	test_write_disk_secure744.c		\
24024113d8cSMartin Matuska	test_write_disk_secure745.c		\
24124113d8cSMartin Matuska	test_write_disk_secure746.c		\
24259e2ff55SEnji Cooper	test_write_disk_sparse.c		\
24359e2ff55SEnji Cooper	test_write_disk_symlink.c		\
24459e2ff55SEnji Cooper	test_write_disk_times.c			\
24559e2ff55SEnji Cooper	test_write_filter_b64encode.c		\
24659e2ff55SEnji Cooper	test_write_filter_bzip2.c		\
24759e2ff55SEnji Cooper	test_write_filter_compress.c		\
24859e2ff55SEnji Cooper	test_write_filter_gzip.c		\
24959e2ff55SEnji Cooper	test_write_filter_gzip_timestamp.c	\
25059e2ff55SEnji Cooper	test_write_filter_lrzip.c		\
251cdf63a70SMartin Matuska	test_write_filter_lz4.c			\
25259e2ff55SEnji Cooper	test_write_filter_lzip.c		\
25359e2ff55SEnji Cooper	test_write_filter_lzma.c		\
25459e2ff55SEnji Cooper	test_write_filter_lzop.c		\
25559e2ff55SEnji Cooper	test_write_filter_program.c		\
25659e2ff55SEnji Cooper	test_write_filter_uuencode.c		\
25759e2ff55SEnji Cooper	test_write_filter_xz.c			\
2585c831a5bSMartin Matuska	test_write_filter_zstd.c		\
25959e2ff55SEnji Cooper	test_write_format_7zip.c		\
26059e2ff55SEnji Cooper	test_write_format_7zip_empty.c		\
26159e2ff55SEnji Cooper	test_write_format_7zip_large.c		\
26259e2ff55SEnji Cooper	test_write_format_ar.c			\
26359e2ff55SEnji Cooper	test_write_format_cpio.c		\
26459e2ff55SEnji Cooper	test_write_format_cpio_empty.c		\
26559e2ff55SEnji Cooper	test_write_format_cpio_newc.c		\
26659e2ff55SEnji Cooper	test_write_format_cpio_odc.c		\
26759e2ff55SEnji Cooper	test_write_format_gnutar.c		\
268f061a221SMartin Matuska	test_write_format_gnutar_filenames.c	\
26959e2ff55SEnji Cooper	test_write_format_iso9660.c		\
27059e2ff55SEnji Cooper	test_write_format_iso9660_boot.c	\
27159e2ff55SEnji Cooper	test_write_format_iso9660_empty.c	\
27259e2ff55SEnji Cooper	test_write_format_iso9660_filename.c	\
27359e2ff55SEnji Cooper	test_write_format_iso9660_zisofs.c	\
27459e2ff55SEnji Cooper	test_write_format_mtree.c		\
27559e2ff55SEnji Cooper	test_write_format_mtree_absolute_path.c	\
27659e2ff55SEnji Cooper	test_write_format_mtree_classic.c	\
27759e2ff55SEnji Cooper	test_write_format_mtree_classic_indent.c	\
27859e2ff55SEnji Cooper	test_write_format_mtree_fflags.c	\
27959e2ff55SEnji Cooper	test_write_format_mtree_no_separator.c	\
28059e2ff55SEnji Cooper	test_write_format_mtree_quoted_filename.c	\
28159e2ff55SEnji Cooper	test_write_format_pax.c			\
282cdf63a70SMartin Matuska	test_write_format_raw.c			\
283cdf63a70SMartin Matuska	test_write_format_raw_b64.c		\
28459e2ff55SEnji Cooper	test_write_format_shar_empty.c		\
28559e2ff55SEnji Cooper	test_write_format_tar.c			\
28659e2ff55SEnji Cooper	test_write_format_tar_empty.c		\
28759e2ff55SEnji Cooper	test_write_format_tar_sparse.c		\
28859e2ff55SEnji Cooper	test_write_format_tar_ustar.c		\
28959e2ff55SEnji Cooper	test_write_format_tar_v7tar.c		\
290cdf63a70SMartin Matuska	test_write_format_warc.c		\
291cdf63a70SMartin Matuska	test_write_format_warc_empty.c		\
29259e2ff55SEnji Cooper	test_write_format_xar.c			\
29359e2ff55SEnji Cooper	test_write_format_xar_empty.c		\
29459e2ff55SEnji Cooper	test_write_format_zip.c			\
295cdf63a70SMartin Matuska	test_write_format_zip_compression_store.c	\
29659e2ff55SEnji Cooper	test_write_format_zip_empty.c		\
297cdf63a70SMartin Matuska	test_write_format_zip_empty_zip64.c	\
298*bfa5e585SMartin Matuska	test_write_format_zip_entry_size_unset.c	\
299cdf63a70SMartin Matuska	test_write_format_zip_file.c		\
300cdf63a70SMartin Matuska	test_write_format_zip_file_zip64.c	\
301cdf63a70SMartin Matuska	test_write_format_zip_large.c		\
302cdf63a70SMartin Matuska	test_write_format_zip_zip64.c		\
30359e2ff55SEnji Cooper	test_write_open_memory.c		\
304cdf63a70SMartin Matuska	test_write_read_format_zip.c		\
305e46d4714SMartin Matuska	test_xattr_platform.c			\
30659e2ff55SEnji Cooper	test_zip_filename_encoding.c
30759e2ff55SEnji Cooper
30859e2ff55SEnji Cooper# Deterministic failures:
30959e2ff55SEnji Cooper# Fails with `test_read_disk_directory_traversals.c:1094: File at has atime 886622, 1443306049 seconds ago`
31059e2ff55SEnji CooperBROKEN_TESTS+=			test_read_disk_directory_traversals
31159e2ff55SEnji Cooper
3125ccad265SAlex Richardson.if 0
3135ccad265SAlex Richardson# test_fuzz.c is not a real test, but rather a simple fuzz-test using random().
3145ccad265SAlex Richardson# Since this is not a regression/unit test, we don't include it by default.
3155ccad265SAlex Richardson# If you would still like to include it, comment out the `.if 0`.
3165ccad265SAlex RichardsonTEST_SCRCS+=	test_fuzz.c
3175ccad265SAlex Richardson${PACKAGE}FILES+=	test_fuzz.cab.uu
3185ccad265SAlex Richardson${PACKAGE}FILES+=	test_fuzz.lzh.uu
3195ccad265SAlex Richardson${PACKAGE}FILES+=	test_fuzz_1.iso.Z.uu
32059e2ff55SEnji Cooper# Non-deterministic failures:
32159e2ff55SEnji Cooper# (Times out?) [and] crashes
32259e2ff55SEnji CooperBROKEN_TESTS+=			test_fuzz_rar
3235ccad265SAlex Richardson.endif
32459e2ff55SEnji Cooper
325e7512153SLi-Wen Hsu# https://bugs.freebsd.org/240683
326e7512153SLi-Wen HsuBROKEN_TESTS+=			test_write_filter_zstd
327e7512153SLi-Wen Hsu
32859e2ff55SEnji Cooper# Build the test program.
32959e2ff55SEnji CooperSRCS.libarchive_test=		\
33059e2ff55SEnji Cooper	${TESTS_SRCS}		\
331277fbb92SBryan Drewery	read_open_memory.c	\
33259e2ff55SEnji Cooper	list.h
33359e2ff55SEnji Cooper
33459e2ff55SEnji CooperLIBADD.libarchive_test=	archive
33559e2ff55SEnji Cooper
3363c89d6b0SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/test_utils
33764287048SMartin MatuskaSRCS.libarchive_test+=	test_main.c	\
33864287048SMartin Matuska			test_utils.c
33959e2ff55SEnji Cooper
34059e2ff55SEnji Cooper# list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines
34159e2ff55SEnji Cooperlist.h: ${TESTS_SRCS} Makefile
3423c89d6b0SBryan Drewery	@(cd ${_LIBARCHIVEDIR}/libarchive/test && \
343cdf63a70SMartin Matuska	grep -E -h ^DEFINE_TEST ${.ALLSRC:N*Makefile} | \
34459e2ff55SEnji Cooper	    egrep -v '${BROKEN_TESTS:tW:C/ /|/g}') > ${.TARGET}.tmp
34559e2ff55SEnji Cooper	@mv ${.TARGET}.tmp ${.TARGET}
34659e2ff55SEnji Cooper
347430f7286SEnji CooperCLEANTESTS+=	list.h list.h.tmp
348430f7286SEnji Cooper${PACKAGE}FILES+=	README
349e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_acl_pax_posix1e.tar.uu
350e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_acl_pax_nfs4.tar.uu
351430f7286SEnji Cooper${PACKAGE}FILES+=	test_archive_string_conversion.txt.Z.uu
352430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_bzip2_1.tbz.uu
353430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_bzip2_2.tbz.uu
354430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_cpio_1.cpio.uu
355430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gtar_1.tar.uu
356d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_compat_gtar_2.tar.uu
357430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gzip_1.tgz.uu
358430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gzip_2.tgz.uu
359cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_1.tar.lz4.uu
360cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_2.tar.lz4.uu
361cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_3.tar.lz4.uu
362cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4.tar.lz4.uu
363cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4BD.tar.lz4.uu
364cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4BDBX.tar.lz4.uu
365cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B5.tar.lz4.uu
366cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B5BD.tar.lz4.uu
367cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B6.tar.lz4.uu
368cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B6BD.tar.lz4.uu
369cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B7.tar.lz4.uu
370cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B7BD.tar.lz4.uu
371430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzip_1.tlz.uu
372430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzip_2.tlz.uu
373430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_1.tlz.uu
374430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_2.tlz.uu
375430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_3.tlz.uu
376430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_1.tar.lzo.uu
377430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_2.tar.lzo.uu
378430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_3.tar.lzo.uu
379430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_mac-1.tar.Z.uu
380430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_mac-2.tar.Z.uu
381007dbc1fSMartin Matuska${PACKAGE}FILES+=	test_compat_perl_archive_tar.tar.uu
382a2e802b7SMartin Matuska${PACKAGE}FILES+=	test_compat_plexus_archiver_tar.tar.uu
383430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_1.pax.Z.uu
384430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_2.pax.Z.uu
385430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_tar_acl.tar.uu
386e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_compat_star_acl_nfs4.tar.uu
387d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_compat_star_acl_posix1e.tar.uu
388*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_compat_tar_directory_1.tar.uu
389430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_tar_hardlink_1.tar.uu
390cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_uudecode_large.tar.Z.uu
391430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_xz_1.txz.uu
392430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_1.zip.uu
393430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_2.zip.uu
394430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_3.zip.uu
395430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_4.zip.uu
396430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_5.zip.uu
397430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_6.zip.uu
398430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_7.xps.uu
399a2a3407cSMartin Matuska${PACKAGE}FILES+=	test_compat_zip_8.zip.uu
4005c831a5bSMartin Matuska${PACKAGE}FILES+=	test_compat_zstd_1.tar.zst.uu
401de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_compat_zstd_2.tar.zst.uu
402430f7286SEnji Cooper${PACKAGE}FILES+=	test_pax_filename_encoding.tar.uu
40379085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_all.tar.uu
40479085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_libarchive.tar.uu
40579085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_schily.tar.uu
406430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part1.rar.uu
407430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part2.rar.uu
408430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part3.rar.uu
409430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part4.rar.uu
410430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part5.rar.uu
411430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part6.rar.uu
412430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part1.rar.uu
413430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part2.rar.uu
414430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part3.rar.uu
415430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part01.rar.uu
416430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part02.rar.uu
417430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part03.rar.uu
418430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part04.rar.uu
419430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part05.rar.uu
420430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part06.rar.uu
421430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part07.rar.uu
422430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part08.rar.uu
423430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part09.rar.uu
424430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part10.rar.uu
425430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_grzip.tar.grz.uu
426430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lrzip.tar.lrz.uu
427430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lzop.tar.lzo.uu
428430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lzop_multiple_parts.tar.lzo.uu
429430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_bzip2.7z.uu
430430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_1.7z.uu
431430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_2.7z.uu
432430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_lzma.7z.uu
433430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_deflate.7z.uu
434430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_1.7z.uu
435430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_2.7z.uu
436430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_1.7z.uu
437430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_2.7z.uu
438430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_bzip2.7z.uu
439430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_copy.7z.uu
440430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_deflate.7z.uu
441430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma1.7z.uu
442430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma2.7z.uu
443430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bzip2.7z.uu
444430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_copy.7z.uu
445430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_copy_2.7z.uu
446430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_deflate.7z.uu
447430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma1.7z.uu
448430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma2.7z.uu
449f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma1.7z.uu
450f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma2.7z.uu
451430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_empty_archive.7z.uu
452430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_empty_file.7z.uu
453cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption.7z.uu
454cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption_header.7z.uu
455cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption_partially.7z.uu
456430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1.7z.uu
457430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1_2.7z.uu
458430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1_lzma2.7z.uu
459430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma2.7z.uu
460cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_malformed.7z.uu
461cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_malformed2.7z.uu
46279085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_packinfo_digests.7z.uu
463430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_ppmd.7z.uu
464430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_symbolic_name.7z.uu
465430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ar.ar.uu
466430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_1.cab.uu
467430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_2.cab.uu
468430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_3.cab.uu
469430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_filename_cp932.cab.uu
470430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_bin_be.cpio.uu
471cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_cpio_bin_le.cpio.uu
472430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_cp866.cpio.uu
473430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_eucjp.cpio.uu
474430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_koi8r.cpio.uu
475430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_jp.cpio.uu
476430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_ru.cpio.uu
477430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_svr4_bzip2_rpm.rpm.uu
478430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_svr4_gzip_rpm.rpm.uu
479430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_cp866.tar.Z.uu
480430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_eucjp.tar.Z.uu
481430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_koi8r.tar.Z.uu
482430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_13.tar.uu
483430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17.tar.uu
484430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix00.tar.uu
485430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix01.tar.uu
486430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10.tar.uu
487430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu
488430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_skip_entry.tar.Z.uu
489430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso.iso.Z.uu
490430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_2.iso.Z.uu
491430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet.iso.Z.uu
492430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_by_nero.iso.Z.uu
493430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_long.iso.Z.uu
494430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_rockridge.iso.Z.uu
495430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_multi_extent.iso.Z.uu
496430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge.iso.Z.uu
497430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_ce.iso.Z.uu
498430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_new.iso.Z.uu
499430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_rr_moved.iso.Z.uu
500430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_xorriso.iso.Z.uu
501430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_zisofs.iso.Z.uu
502cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_lha_bugfix_0.lzh.uu
503430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_filename_cp932.lzh.uu
50479085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_lha_filename_utf16.lzh.uu
505430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header0.lzh.uu
506430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header1.lzh.uu
507430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header2.lzh.uu
508430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header3.lzh.uu
509430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh0.lzh.uu
510430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh6.lzh.uu
511430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh7.lzh.uu
512430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_withjunk.lzh.uu
513430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree.mtree.uu
514f3e9b21aSMartin Matuska${PACKAGE}FILES+=	test_read_format_mtree_crash747.mtree.bz2.uu
515430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic.mtree.uu
516430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic2.mtree.uu
517430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic3.mtree.uu
51852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_mtree_noprint.mtree.uu
519430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar.rar.uu
520430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_binary_data.rar.uu
521430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_compress_best.rar.uu
522430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_compress_normal.rar.uu
523cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_data.rar.uu
524cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_header.rar.uu
525cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_partially.rar.uu
526*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_filter.rar.uu
527f061a221SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_invalid1.rar.uu
528430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multi_lzss_blocks.rar.uu
529430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0001.rar.uu
530430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0002.rar.uu
531430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0003.rar.uu
532430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0004.rar.uu
533430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_noeof.rar.uu
534430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_ppmd_lzss_conversion.rar.uu
53552c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free.rar.uu
5367d8ec1b7SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free2.rar.uu
537430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_sfx.exe.uu
538430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_subblock.rar.uu
539430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_unicode.rar.uu
540430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_windows.rar.uu
541b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_arm.rar.uu
54242b1c3afSLi-Wen Hsu${PACKAGE}FILES+=	test_read_format_rar5_arm_filter_on_window_boundary.rar.uu
543*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu
544b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_blake2.rar.uu
545f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_block_size_is_too_small.rar.uu
546b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_compressed.rar.uu
547*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_decode_number_out_of_bounds_read.rar.uu
54879085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_solid_window_size.rar.uu
5497d8ec1b7SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_window_size.rar.uu
55079085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_winsize_on_merge.rar.uu
55152c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_distance_overflow.rar.uu
55252c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_extra_field_version.rar.uu
55352c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_fileattr.rar.uu
55452c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_hardlink.rar.uu
55552c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_invalid_dict_reference.rar.uu
55652c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_leftshift1.rar.uu
55752c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_leftshift2.rar.uu
558b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part01.rar.uu
559b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part02.rar.uu
560b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part03.rar.uu
561b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part04.rar.uu
562b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part05.rar.uu
563b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part06.rar.uu
564b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part07.rar.uu
565b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part08.rar.uu
566b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part01.rar.uu
567b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part02.rar.uu
568b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part03.rar.uu
569b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part04.rar.uu
570b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiple_files.rar.uu
571b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiple_files_solid.rar.uu
57252c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_nonempty_dir_stream.rar.uu
57352c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_owner.rar.uu
57452c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_readtables_overflow.rar.uu
575*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_sfx.exe.uu
576b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_solid.rar.uu
577b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_stored.rar.uu
578b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_stored_manyfiles.rar.uu
57952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_symlink.rar.uu
58052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_truncated_huff.rar.uu
581b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_win32.rar.uu
582*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_window_buf_and_size_desync.rar.uu
583d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_read_format_raw.bufr.uu
584430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_raw.data.Z.uu
58552c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_raw.data.gz.uu
586430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_raw.data.uu
587cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_concatenated.tar.uu
588430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_tar_empty_filename.tar.uu
58952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_empty_with_gnulabel.tar.uu
590cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_empty_pax.tar.Z.uu
591430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_tar_filename_koi8r.tar.Z.uu
592430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_cp866.tar.Z.uu
593430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_eucjp.tar.Z.uu
594430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_koi8r.tar.Z.uu
595cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_warc.warc.uu
596430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip.zip.uu
597d08b7fa2SLi-Wen Hsu${PACKAGE}FILES+=	test_read_format_zip_7075_utf8_paths.zip.uu
598aef1ff87SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_7z_deflate.zip.uu
599c3afd20fSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_7z_lzma.zip.uu
600df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bz2_hang.zip.uu
601a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bzip2.zipx.uu
602a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bzip2_multi.zipx.uu
603430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_comment_stored_1.zip.uu
604430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_comment_stored_2.zip.uu
605cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_data.zip.uu
606cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_header.zip.uu
607cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_partially.zip.uu
60852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_extra_padding.zip.uu
609430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_cp866.zip.uu
610430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_cp932.zip.uu
611430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_koi8r.zip.uu
612430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_jp.zip.uu
613430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru.zip.uu
614430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru2.zip.uu
615cfa49a9bSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_high_compression.zip.uu
6167105995cSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_jar.jar.uu
617430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_length_at_end.zip.uu
61852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_alone_leak.zipx.uu
61952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma.zipx.uu
620a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_multi.zipx.uu
621f55be4fcSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_stream_end.zipx.uu
622430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_mac_metadata.zip.uu
623cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_malformed1.zip.uu
624cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_msdos.zip.uu
625cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_nested.zip.uu
626cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_nofiletype.zip.uu
627cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded1.zip.uu
628cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded2.zip.uu
629cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded3.zip.uu
630a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8.zipx.uu
631df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_1.zipx.uu
632df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_2.zipx.uu
633a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_multi.zipx.uu
634430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_sfx.uu
635430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_symlink.zip.uu
636cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_traditional_encryption_data.zip.uu
637430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_ux.zip.uu
638a8fc61d5SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_with_invalid_traditional_eocd.zip.uu
639cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes128.zip.uu
640cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256.zip.uu
641cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_large.zip.uu
642cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_stored.zip.uu
643a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_xz_multi.zipx.uu
644cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zip64a.zip.uu
645cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zip64b.zip.uu
646*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zstd.zipx.uu
647*bfa5e585SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zstd_multi.zipx.uu
648430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_aa.uu
649430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ab.uu
650430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ac.uu
651430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ad.uu
652430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ae.uu
653de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_read_pax_xattr_rht_security_selinux.tar.uu
654de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_read_pax_xattr_schily.tar.uu
655430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_aa.uu
656430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ab.uu
657430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ac.uu
658430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ad.uu
659cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_too_many_filters.gz.uu
660430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_aa.uu
661430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_ab.uu
662430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_ac.uu
663430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_appledouble.cpio.gz.uu
664430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_hfs_compression.tgz.uu
665430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_mac_metadata.tar.gz.uu
666430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_no_hfs_compression.tgz.uu
66759e2ff55SEnji Cooper
66859e2ff55SEnji Cooper.include <bsd.test.mk>
669