xref: /freebsd/lib/libarchive/tests/Makefile (revision 13d826ff947d9026f98e317e7385b22abfc0eace)
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
2059e2ff55SEnji Cooper
21833a452eSMartin MatuskaCFLAGS.test_utils.c+=	-Wno-cast-align
22833a452eSMartin Matuska
2359e2ff55SEnji Cooper# Uncomment to link against dmalloc
2459e2ff55SEnji Cooper#LDADD+= -L/usr/local/lib -ldmalloc
2559e2ff55SEnji Cooper#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC
2659e2ff55SEnji Cooper
273c89d6b0SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/libarchive/test
2859e2ff55SEnji CooperTESTS_SRCS= \
2959e2ff55SEnji Cooper	test_acl_nfs4.c				\
3059e2ff55SEnji Cooper	test_acl_pax.c				\
319f3de9e2SMartin Matuska	test_acl_platform_nfs4.c		\
329f3de9e2SMartin Matuska	test_acl_platform_posix1e.c		\
3359e2ff55SEnji Cooper	test_acl_posix1e.c			\
34e9ed7ea4SMartin Matuska	test_acl_text.c				\
3559e2ff55SEnji Cooper	test_archive_api_feature.c		\
3659e2ff55SEnji Cooper	test_archive_clear_error.c		\
3759e2ff55SEnji Cooper	test_archive_cmdline.c			\
38cdf63a70SMartin Matuska	test_archive_digest.c			\
3959e2ff55SEnji Cooper	test_archive_getdate.c			\
4059e2ff55SEnji Cooper	test_archive_match_time.c		\
4159e2ff55SEnji Cooper	test_archive_match_owner.c		\
4259e2ff55SEnji Cooper	test_archive_match_path.c		\
4359e2ff55SEnji Cooper	test_archive_pathmatch.c		\
44cdf63a70SMartin Matuska	test_archive_read_add_passphrase.c	\
4559e2ff55SEnji Cooper	test_archive_read_close_twice.c		\
4659e2ff55SEnji Cooper	test_archive_read_close_twice_open_fd.c	\
4759e2ff55SEnji Cooper	test_archive_read_close_twice_open_filename.c	\
4859e2ff55SEnji Cooper	test_archive_read_multiple_data_objects.c	\
4959e2ff55SEnji Cooper	test_archive_read_next_header_empty.c	\
5059e2ff55SEnji Cooper	test_archive_read_next_header_raw.c	\
5159e2ff55SEnji Cooper	test_archive_read_open2.c		\
5259e2ff55SEnji Cooper	test_archive_read_set_filter_option.c	\
5359e2ff55SEnji Cooper	test_archive_read_set_format_option.c	\
5459e2ff55SEnji Cooper	test_archive_read_set_option.c		\
5559e2ff55SEnji Cooper	test_archive_read_set_options.c		\
5659e2ff55SEnji Cooper	test_archive_read_support.c		\
5759e2ff55SEnji Cooper	test_archive_set_error.c		\
5859e2ff55SEnji Cooper	test_archive_string.c			\
5959e2ff55SEnji Cooper	test_archive_string_conversion.c	\
6059e2ff55SEnji Cooper	test_archive_write_add_filter_by_name.c	\
6159e2ff55SEnji Cooper	test_archive_write_set_filter_option.c	\
6259e2ff55SEnji Cooper	test_archive_write_set_format_by_name.c	\
63cdf63a70SMartin Matuska	test_archive_write_set_format_filter_by_ext.c \
6459e2ff55SEnji Cooper	test_archive_write_set_format_option.c	\
6559e2ff55SEnji Cooper	test_archive_write_set_option.c		\
6659e2ff55SEnji Cooper	test_archive_write_set_options.c	\
67cdf63a70SMartin Matuska	test_archive_write_set_passphrase.c	\
6859e2ff55SEnji Cooper	test_bad_fd.c				\
6959e2ff55SEnji Cooper	test_compat_bzip2.c			\
7059e2ff55SEnji Cooper	test_compat_cpio.c			\
7159e2ff55SEnji Cooper	test_compat_gtar.c			\
7259e2ff55SEnji Cooper	test_compat_gzip.c			\
73cdf63a70SMartin Matuska	test_compat_lz4.c			\
7459e2ff55SEnji Cooper	test_compat_lzip.c			\
7559e2ff55SEnji Cooper	test_compat_lzma.c			\
7659e2ff55SEnji Cooper	test_compat_lzop.c			\
7759e2ff55SEnji Cooper	test_compat_mac.c			\
78007dbc1fSMartin Matuska	test_compat_perl_archive_tar.c		\
79a2e802b7SMartin Matuska	test_compat_plexus_archiver_tar.c	\
8059e2ff55SEnji Cooper	test_compat_solaris_tar_acl.c		\
8159e2ff55SEnji Cooper	test_compat_solaris_pax_sparse.c	\
82e9ed7ea4SMartin Matuska	test_compat_star_acl.c			\
83833a452eSMartin Matuska	test_compat_tar_directory.c		\
8459e2ff55SEnji Cooper	test_compat_tar_hardlink.c		\
8559e2ff55SEnji Cooper	test_compat_uudecode.c			\
86cdf63a70SMartin Matuska	test_compat_uudecode_large.c		\
8759e2ff55SEnji Cooper	test_compat_xz.c			\
8859e2ff55SEnji Cooper	test_compat_zip.c			\
895c831a5bSMartin Matuska	test_compat_zstd.c			\
9059e2ff55SEnji Cooper	test_empty_write.c			\
9159e2ff55SEnji Cooper	test_entry.c				\
9259e2ff55SEnji Cooper	test_entry_strmode.c			\
9359e2ff55SEnji Cooper	test_extattr_freebsd.c			\
9459e2ff55SEnji Cooper	test_filter_count.c			\
9559e2ff55SEnji Cooper	test_gnutar_filename_encoding.c		\
9659e2ff55SEnji Cooper	test_link_resolver.c			\
9759e2ff55SEnji Cooper	test_open_fd.c				\
9859e2ff55SEnji Cooper	test_open_failure.c			\
9959e2ff55SEnji Cooper	test_open_file.c			\
10059e2ff55SEnji Cooper	test_open_filename.c			\
10159e2ff55SEnji Cooper	test_pax_filename_encoding.c		\
10279085fd3SMartin Matuska	test_pax_xattr_header.c			\
10359e2ff55SEnji Cooper	test_read_data_large.c			\
10459e2ff55SEnji Cooper	test_read_disk.c			\
10559e2ff55SEnji Cooper	test_read_disk_directory_traversals.c	\
10659e2ff55SEnji Cooper	test_read_disk_entry_from_file.c	\
10759e2ff55SEnji Cooper	test_read_extract.c			\
10859e2ff55SEnji Cooper	test_read_file_nonexistent.c		\
109cdf63a70SMartin Matuska	test_read_filter_compress.c		\
11059e2ff55SEnji Cooper	test_read_filter_grzip.c		\
11159e2ff55SEnji Cooper	test_read_filter_lrzip.c		\
11259e2ff55SEnji Cooper	test_read_filter_lzop.c			\
11359e2ff55SEnji Cooper	test_read_filter_lzop_multiple_parts.c	\
11459e2ff55SEnji Cooper	test_read_filter_program.c		\
11559e2ff55SEnji Cooper	test_read_filter_program_signature.c	\
11659e2ff55SEnji Cooper	test_read_filter_uudecode.c		\
117b9128a37SMartin Matuska	test_read_filter_uudecode_raw.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	\
173833a452eSMartin 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		\
182bd5e624aSMartin Matuska	test_read_format_tar_invalid_pax_size.c \
18359e2ff55SEnji Cooper	test_read_format_tbz.c			\
18459e2ff55SEnji Cooper	test_read_format_tgz.c			\
18559e2ff55SEnji Cooper	test_read_format_tlz.c			\
18659e2ff55SEnji Cooper	test_read_format_txz.c			\
18759e2ff55SEnji Cooper	test_read_format_tz.c			\
18859e2ff55SEnji Cooper	test_read_format_ustar_filename.c	\
189cdf63a70SMartin Matuska	test_read_format_warc.c			\
19059e2ff55SEnji Cooper	test_read_format_xar.c			\
191*13d826ffSMartin Matuska	test_read_format_xar_doublelink.c	\
19259e2ff55SEnji Cooper	test_read_format_zip.c			\
19352c2bb75SMartin Matuska	test_read_format_zip_7075_utf8_paths.c	\
19459e2ff55SEnji Cooper	test_read_format_zip_comment_stored.c	\
195cdf63a70SMartin Matuska	test_read_format_zip_encryption_data.c	\
196cdf63a70SMartin Matuska	test_read_format_zip_encryption_header.c	\
197cdf63a70SMartin Matuska	test_read_format_zip_encryption_partially.c	\
19852c2bb75SMartin Matuska	test_read_format_zip_extra_padding.c	\
19959e2ff55SEnji Cooper	test_read_format_zip_filename.c		\
200cfa49a9bSMartin Matuska	test_read_format_zip_high_compression.c	\
2017105995cSMartin Matuska	test_read_format_zip_jar.c		\
20259e2ff55SEnji Cooper	test_read_format_zip_mac_metadata.c	\
203cdf63a70SMartin Matuska	test_read_format_zip_malformed.c	\
204cdf63a70SMartin Matuska	test_read_format_zip_msdos.c		\
205cdf63a70SMartin Matuska	test_read_format_zip_nested.c		\
206cdf63a70SMartin Matuska	test_read_format_zip_nofiletype.c	\
207cdf63a70SMartin Matuska	test_read_format_zip_padded.c		\
20859e2ff55SEnji Cooper	test_read_format_zip_sfx.c		\
209cdf63a70SMartin Matuska	test_read_format_zip_traditional_encryption_data.c	\
210cdf63a70SMartin Matuska	test_read_format_zip_winzip_aes.c	\
211cdf63a70SMartin Matuska	test_read_format_zip_winzip_aes_large.c	\
212a8fc61d5SMartin Matuska	test_read_format_zip_with_invalid_traditional_eocd.c	\
213cdf63a70SMartin Matuska	test_read_format_zip_zip64.c		\
21459e2ff55SEnji Cooper	test_read_large.c			\
215de6fa6b4SMartin Matuska	test_read_pax_xattr_rht_security_selinux.c	\
216de6fa6b4SMartin Matuska	test_read_pax_xattr_schily.c		\
21759e2ff55SEnji Cooper	test_read_pax_truncated.c		\
21859e2ff55SEnji Cooper	test_read_position.c			\
21959e2ff55SEnji Cooper	test_read_set_format.c			\
220cdf63a70SMartin Matuska	test_read_too_many_filters.c		\
22159e2ff55SEnji Cooper	test_read_truncated.c			\
22259e2ff55SEnji Cooper	test_read_truncated_filter.c		\
223ddce862aSMartin Matuska	test_short_writes.c			\
22459e2ff55SEnji Cooper	test_sparse_basic.c			\
22559e2ff55SEnji Cooper	test_tar_filenames.c			\
22659e2ff55SEnji Cooper	test_tar_large.c			\
227cdf63a70SMartin Matuska	test_warn_missing_hardlink_target.c	\
22859e2ff55SEnji Cooper	test_ustar_filenames.c			\
22959e2ff55SEnji Cooper	test_ustar_filename_encoding.c		\
23059e2ff55SEnji Cooper	test_write_disk.c			\
23159e2ff55SEnji Cooper	test_write_disk_appledouble.c		\
23259e2ff55SEnji Cooper	test_write_disk_failures.c		\
233ddce862aSMartin Matuska	test_write_disk_fixup.c			\
23459e2ff55SEnji Cooper	test_write_disk_hardlink.c		\
23559e2ff55SEnji Cooper	test_write_disk_hfs_compression.c	\
23659e2ff55SEnji Cooper	test_write_disk_lookup.c		\
23759e2ff55SEnji Cooper	test_write_disk_mac_metadata.c		\
23859e2ff55SEnji Cooper	test_write_disk_no_hfs_compression.c	\
23959e2ff55SEnji Cooper	test_write_disk_perms.c			\
24059e2ff55SEnji Cooper	test_write_disk_secure.c		\
241cfa49a9bSMartin Matuska	test_write_disk_secure744.c		\
24224113d8cSMartin Matuska	test_write_disk_secure745.c		\
24324113d8cSMartin Matuska	test_write_disk_secure746.c		\
24459e2ff55SEnji Cooper	test_write_disk_sparse.c		\
24559e2ff55SEnji Cooper	test_write_disk_symlink.c		\
24659e2ff55SEnji Cooper	test_write_disk_times.c			\
24759e2ff55SEnji Cooper	test_write_filter_b64encode.c		\
24859e2ff55SEnji Cooper	test_write_filter_bzip2.c		\
24959e2ff55SEnji Cooper	test_write_filter_compress.c		\
25059e2ff55SEnji Cooper	test_write_filter_gzip.c		\
25159e2ff55SEnji Cooper	test_write_filter_gzip_timestamp.c	\
25259e2ff55SEnji Cooper	test_write_filter_lrzip.c		\
253cdf63a70SMartin Matuska	test_write_filter_lz4.c			\
25459e2ff55SEnji Cooper	test_write_filter_lzip.c		\
25559e2ff55SEnji Cooper	test_write_filter_lzma.c		\
25659e2ff55SEnji Cooper	test_write_filter_lzop.c		\
25759e2ff55SEnji Cooper	test_write_filter_program.c		\
25859e2ff55SEnji Cooper	test_write_filter_uuencode.c		\
25959e2ff55SEnji Cooper	test_write_filter_xz.c			\
2605c831a5bSMartin Matuska	test_write_filter_zstd.c		\
26159e2ff55SEnji Cooper	test_write_format_7zip.c		\
26259e2ff55SEnji Cooper	test_write_format_7zip_empty.c		\
26359e2ff55SEnji Cooper	test_write_format_7zip_large.c		\
26459e2ff55SEnji Cooper	test_write_format_ar.c			\
26559e2ff55SEnji Cooper	test_write_format_cpio.c		\
26659e2ff55SEnji Cooper	test_write_format_cpio_empty.c		\
26759e2ff55SEnji Cooper	test_write_format_cpio_newc.c		\
26859e2ff55SEnji Cooper	test_write_format_cpio_odc.c		\
26959e2ff55SEnji Cooper	test_write_format_gnutar.c		\
270f061a221SMartin Matuska	test_write_format_gnutar_filenames.c	\
27159e2ff55SEnji Cooper	test_write_format_iso9660.c		\
27259e2ff55SEnji Cooper	test_write_format_iso9660_boot.c	\
27359e2ff55SEnji Cooper	test_write_format_iso9660_empty.c	\
27459e2ff55SEnji Cooper	test_write_format_iso9660_filename.c	\
27559e2ff55SEnji Cooper	test_write_format_iso9660_zisofs.c	\
27659e2ff55SEnji Cooper	test_write_format_mtree.c		\
27759e2ff55SEnji Cooper	test_write_format_mtree_absolute_path.c	\
27859e2ff55SEnji Cooper	test_write_format_mtree_classic.c	\
27959e2ff55SEnji Cooper	test_write_format_mtree_classic_indent.c	\
28059e2ff55SEnji Cooper	test_write_format_mtree_fflags.c	\
28159e2ff55SEnji Cooper	test_write_format_mtree_no_separator.c	\
28259e2ff55SEnji Cooper	test_write_format_mtree_quoted_filename.c	\
28359e2ff55SEnji Cooper	test_write_format_pax.c			\
284cdf63a70SMartin Matuska	test_write_format_raw.c			\
285cdf63a70SMartin Matuska	test_write_format_raw_b64.c		\
28659e2ff55SEnji Cooper	test_write_format_shar_empty.c		\
28759e2ff55SEnji Cooper	test_write_format_tar.c			\
28859e2ff55SEnji Cooper	test_write_format_tar_empty.c		\
28959e2ff55SEnji Cooper	test_write_format_tar_sparse.c		\
29059e2ff55SEnji Cooper	test_write_format_tar_ustar.c		\
29159e2ff55SEnji Cooper	test_write_format_tar_v7tar.c		\
292cdf63a70SMartin Matuska	test_write_format_warc.c		\
293cdf63a70SMartin Matuska	test_write_format_warc_empty.c		\
29459e2ff55SEnji Cooper	test_write_format_xar.c			\
29559e2ff55SEnji Cooper	test_write_format_xar_empty.c		\
29659e2ff55SEnji Cooper	test_write_format_zip.c			\
297cdf63a70SMartin Matuska	test_write_format_zip_compression_store.c	\
29859e2ff55SEnji Cooper	test_write_format_zip_empty.c		\
299cdf63a70SMartin Matuska	test_write_format_zip_empty_zip64.c	\
300833a452eSMartin Matuska	test_write_format_zip_entry_size_unset.c	\
301cdf63a70SMartin Matuska	test_write_format_zip_file.c		\
302cdf63a70SMartin Matuska	test_write_format_zip_file_zip64.c	\
303cdf63a70SMartin Matuska	test_write_format_zip_large.c		\
304cdf63a70SMartin Matuska	test_write_format_zip_zip64.c		\
305b9128a37SMartin Matuska	test_write_format_zip64_stream.c	\
306b9128a37SMartin Matuska	test_write_format_zip_stream.c		\
30759e2ff55SEnji Cooper	test_write_open_memory.c		\
308cdf63a70SMartin Matuska	test_write_read_format_zip.c		\
309e46d4714SMartin Matuska	test_xattr_platform.c			\
31059e2ff55SEnji Cooper	test_zip_filename_encoding.c
31159e2ff55SEnji Cooper
31259e2ff55SEnji Cooper# Deterministic failures:
31359e2ff55SEnji Cooper# Fails with `test_read_disk_directory_traversals.c:1094: File at has atime 886622, 1443306049 seconds ago`
31459e2ff55SEnji CooperBROKEN_TESTS+=			test_read_disk_directory_traversals
31559e2ff55SEnji Cooper
3163454fa11SAlex Richardson.if 0
3173454fa11SAlex Richardson# test_fuzz.c is not a real test, but rather a simple fuzz-test using random().
3183454fa11SAlex Richardson# Since this is not a regression/unit test, we don't include it by default.
3193454fa11SAlex Richardson# If you would still like to include it, comment out the `.if 0`.
3203454fa11SAlex RichardsonTEST_SCRCS+=	test_fuzz.c
3213454fa11SAlex Richardson${PACKAGE}FILES+=	test_fuzz.cab.uu
3223454fa11SAlex Richardson${PACKAGE}FILES+=	test_fuzz.lzh.uu
3233454fa11SAlex Richardson${PACKAGE}FILES+=	test_fuzz_1.iso.Z.uu
32459e2ff55SEnji Cooper# Non-deterministic failures:
32559e2ff55SEnji Cooper# (Times out?) [and] crashes
32659e2ff55SEnji CooperBROKEN_TESTS+=			test_fuzz_rar
3273454fa11SAlex Richardson.endif
32859e2ff55SEnji Cooper
329e7512153SLi-Wen Hsu# https://bugs.freebsd.org/240683
330e7512153SLi-Wen HsuBROKEN_TESTS+=			test_write_filter_zstd
331e7512153SLi-Wen Hsu
33259e2ff55SEnji Cooper# Build the test program.
33359e2ff55SEnji CooperSRCS.libarchive_test=		\
33459e2ff55SEnji Cooper	${TESTS_SRCS}		\
335277fbb92SBryan Drewery	read_open_memory.c	\
33659e2ff55SEnji Cooper	list.h
33759e2ff55SEnji Cooper
33859e2ff55SEnji CooperLIBADD.libarchive_test=	archive
33959e2ff55SEnji Cooper
3403c89d6b0SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/test_utils
34164287048SMartin MatuskaSRCS.libarchive_test+=	test_main.c	\
34264287048SMartin Matuska			test_utils.c
34359e2ff55SEnji Cooper
34459e2ff55SEnji Cooper# list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines
34559e2ff55SEnji Cooperlist.h: ${TESTS_SRCS} Makefile
3463c89d6b0SBryan Drewery	@(cd ${_LIBARCHIVEDIR}/libarchive/test && \
347cdf63a70SMartin Matuska	grep -E -h ^DEFINE_TEST ${.ALLSRC:N*Makefile} | \
34859e2ff55SEnji Cooper	    egrep -v '${BROKEN_TESTS:tW:C/ /|/g}') > ${.TARGET}.tmp
34959e2ff55SEnji Cooper	@mv ${.TARGET}.tmp ${.TARGET}
35059e2ff55SEnji Cooper
351430f7286SEnji CooperCLEANTESTS+=	list.h list.h.tmp
352430f7286SEnji Cooper${PACKAGE}FILES+=	README
353e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_acl_pax_posix1e.tar.uu
354e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_acl_pax_nfs4.tar.uu
355430f7286SEnji Cooper${PACKAGE}FILES+=	test_archive_string_conversion.txt.Z.uu
356430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_bzip2_1.tbz.uu
357430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_bzip2_2.tbz.uu
358430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_cpio_1.cpio.uu
359430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gtar_1.tar.uu
360d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_compat_gtar_2.tar.uu
361430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gzip_1.tgz.uu
362430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_gzip_2.tgz.uu
363cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_1.tar.lz4.uu
364cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_2.tar.lz4.uu
365cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_3.tar.lz4.uu
366cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4.tar.lz4.uu
367cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4BD.tar.lz4.uu
368cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B4BDBX.tar.lz4.uu
369cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B5.tar.lz4.uu
370cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B5BD.tar.lz4.uu
371cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B6.tar.lz4.uu
372cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B6BD.tar.lz4.uu
373cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B7.tar.lz4.uu
374cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_lz4_B7BD.tar.lz4.uu
375430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzip_1.tlz.uu
376430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzip_2.tlz.uu
3777d03ec33SMartin Matuska${PACKAGE}FILES+=	test_compat_lzip_3.lz.uu
3787d03ec33SMartin Matuska${PACKAGE}FILES+=	test_compat_lzip_4.tlz.uu
379430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_1.tlz.uu
380430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_2.tlz.uu
381430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzma_3.tlz.uu
382430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_1.tar.lzo.uu
383430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_2.tar.lzo.uu
384430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_lzop_3.tar.lzo.uu
385430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_mac-1.tar.Z.uu
386430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_mac-2.tar.Z.uu
387007dbc1fSMartin Matuska${PACKAGE}FILES+=	test_compat_perl_archive_tar.tar.uu
388a2e802b7SMartin Matuska${PACKAGE}FILES+=	test_compat_plexus_archiver_tar.tar.uu
389430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_1.pax.Z.uu
390430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_2.pax.Z.uu
391430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_solaris_tar_acl.tar.uu
392e9ed7ea4SMartin Matuska${PACKAGE}FILES+=	test_compat_star_acl_nfs4.tar.uu
393d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_compat_star_acl_posix1e.tar.uu
394833a452eSMartin Matuska${PACKAGE}FILES+=	test_compat_tar_directory_1.tar.uu
395430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_tar_hardlink_1.tar.uu
396cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_compat_uudecode_large.tar.Z.uu
397430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_xz_1.txz.uu
398430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_1.zip.uu
399430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_2.zip.uu
400430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_3.zip.uu
401430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_4.zip.uu
402430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_5.zip.uu
403430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_6.zip.uu
404430f7286SEnji Cooper${PACKAGE}FILES+=	test_compat_zip_7.xps.uu
405a2a3407cSMartin Matuska${PACKAGE}FILES+=	test_compat_zip_8.zip.uu
4065c831a5bSMartin Matuska${PACKAGE}FILES+=	test_compat_zstd_1.tar.zst.uu
407de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_compat_zstd_2.tar.zst.uu
408430f7286SEnji Cooper${PACKAGE}FILES+=	test_pax_filename_encoding.tar.uu
40979085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_all.tar.uu
41079085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_libarchive.tar.uu
41179085fd3SMartin Matuska${PACKAGE}FILES+=	test_pax_xattr_header_schily.tar.uu
412430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part1.rar.uu
413430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part2.rar.uu
414430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part3.rar.uu
415430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part4.rar.uu
416430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part5.rar.uu
417430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part6.rar.uu
418430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part1.rar.uu
419430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part2.rar.uu
420430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_single_file.part3.rar.uu
421430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part01.rar.uu
422430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part02.rar.uu
423430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part03.rar.uu
424430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part04.rar.uu
425430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part05.rar.uu
426430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part06.rar.uu
427430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part07.rar.uu
428430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part08.rar.uu
429430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part09.rar.uu
430430f7286SEnji Cooper${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part10.rar.uu
431430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_grzip.tar.grz.uu
432430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lrzip.tar.lrz.uu
433430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lzop.tar.lzo.uu
434430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_filter_lzop_multiple_parts.tar.lzo.uu
435b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_filter_uudecode_base64_raw.uu
436b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_filter_uudecode_raw.uu
437430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_bzip2.7z.uu
438430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_1.7z.uu
439430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_2.7z.uu
440430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_lzma.7z.uu
441430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_deflate.7z.uu
442e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_deflate_arm64.7z.uu
443430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_1.7z.uu
444430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_2.7z.uu
445430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_1.7z.uu
446430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_2.7z.uu
447430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_bzip2.7z.uu
448430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_copy.7z.uu
449430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_deflate.7z.uu
450430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma1.7z.uu
451430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma2.7z.uu
452430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_bzip2.7z.uu
453430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_copy.7z.uu
454430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_copy_2.7z.uu
455430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_deflate.7z.uu
456430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma1.7z.uu
457430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma2.7z.uu
458f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma1.7z.uu
459f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma2.7z.uu
460430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_empty_archive.7z.uu
461430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_empty_file.7z.uu
462cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption.7z.uu
463cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption_header.7z.uu
464cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_encryption_partially.7z.uu
465430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1.7z.uu
466430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1_2.7z.uu
467430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma1_lzma2.7z.uu
468430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_lzma2.7z.uu
469e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_arm.7z.uu
470e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_lzma2_arm64.7z.uu
471cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_malformed.7z.uu
472cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_malformed2.7z.uu
47379085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_packinfo_digests.7z.uu
474430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_ppmd.7z.uu
475e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_solid_zstd.7z.uu
476430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_7zip_symbolic_name.7z.uu
477e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd.7z.uu
478e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_arm.7z.uu
479e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_bcj.7z.uu
480e64fe029SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_zstd_nobcj.7z.uu
481b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_format_7zip_win_attrib.7z.uu
482430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ar.ar.uu
483430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_1.cab.uu
484430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_2.cab.uu
485430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_3.cab.uu
486430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cab_filename_cp932.cab.uu
487430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_bin_be.cpio.uu
488cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_cpio_bin_le.cpio.uu
489430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_cp866.cpio.uu
490430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_eucjp.cpio.uu
491430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_koi8r.cpio.uu
492430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_jp.cpio.uu
493430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_ru.cpio.uu
494430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_svr4_bzip2_rpm.rpm.uu
495430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_cpio_svr4_gzip_rpm.rpm.uu
496430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_cp866.tar.Z.uu
497430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_eucjp.tar.Z.uu
498430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_filename_koi8r.tar.Z.uu
499430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_13.tar.uu
500430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17.tar.uu
501430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix00.tar.uu
502430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix01.tar.uu
503430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10.tar.uu
504430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu
505430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_gtar_sparse_skip_entry.tar.Z.uu
506430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso.iso.Z.uu
507430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_2.iso.Z.uu
508430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet.iso.Z.uu
509430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_by_nero.iso.Z.uu
510430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_long.iso.Z.uu
511430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_joliet_rockridge.iso.Z.uu
512430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_multi_extent.iso.Z.uu
513430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge.iso.Z.uu
514430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_ce.iso.Z.uu
515430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_new.iso.Z.uu
516430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_rockridge_rr_moved.iso.Z.uu
517430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_xorriso.iso.Z.uu
518430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_iso_zisofs.iso.Z.uu
519cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_lha_bugfix_0.lzh.uu
520430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_filename_cp932.lzh.uu
52179085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_lha_filename_utf16.lzh.uu
522430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header0.lzh.uu
523430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header1.lzh.uu
524430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header2.lzh.uu
525430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_header3.lzh.uu
526430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh0.lzh.uu
527430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh6.lzh.uu
528430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_lh7.lzh.uu
529430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_lha_withjunk.lzh.uu
530430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree.mtree.uu
531f3e9b21aSMartin Matuska${PACKAGE}FILES+=	test_read_format_mtree_crash747.mtree.bz2.uu
532430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic.mtree.uu
533430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic2.mtree.uu
534430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_mtree_nomagic3.mtree.uu
53552c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_mtree_noprint.mtree.uu
536430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar.rar.uu
537430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_binary_data.rar.uu
538430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_compress_best.rar.uu
539430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_compress_normal.rar.uu
540cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_data.rar.uu
541cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_header.rar.uu
542cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_encryption_partially.rar.uu
543833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_filter.rar.uu
544f061a221SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_invalid1.rar.uu
545430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multi_lzss_blocks.rar.uu
546430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0001.rar.uu
547430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0002.rar.uu
548430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0003.rar.uu
549430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0004.rar.uu
550430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_noeof.rar.uu
551430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_ppmd_lzss_conversion.rar.uu
55252c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free.rar.uu
5537d8ec1b7SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free2.rar.uu
554430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_sfx.exe.uu
555430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_subblock.rar.uu
556430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_unicode.rar.uu
557430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_rar_windows.rar.uu
558b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_arm.rar.uu
55942b1c3afSLi-Wen Hsu${PACKAGE}FILES+=	test_read_format_rar5_arm_filter_on_window_boundary.rar.uu
560833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu
561b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_blake2.rar.uu
562f9762417SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_block_size_is_too_small.rar.uu
563b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_compressed.rar.uu
564833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_decode_number_out_of_bounds_read.rar.uu
56579085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_solid_window_size.rar.uu
5667d8ec1b7SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_window_size.rar.uu
56779085fd3SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_different_winsize_on_merge.rar.uu
56852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_distance_overflow.rar.uu
56952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_extra_field_version.rar.uu
57052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_fileattr.rar.uu
57152c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_hardlink.rar.uu
57252c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_invalid_dict_reference.rar.uu
57352c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_leftshift1.rar.uu
57452c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_leftshift2.rar.uu
575b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part01.rar.uu
576b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part02.rar.uu
577b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part03.rar.uu
578b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part04.rar.uu
579b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part05.rar.uu
580b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part06.rar.uu
581b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part07.rar.uu
582b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part08.rar.uu
583b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part01.rar.uu
584b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part02.rar.uu
585b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part03.rar.uu
586b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part04.rar.uu
587b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiple_files.rar.uu
588b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_multiple_files_solid.rar.uu
58952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_nonempty_dir_stream.rar.uu
59052c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_owner.rar.uu
59152c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_readtables_overflow.rar.uu
592833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_sfx.exe.uu
593b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_solid.rar.uu
594b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_stored.rar.uu
595b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_stored_manyfiles.rar.uu
59652c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_symlink.rar.uu
59752c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_truncated_huff.rar.uu
598b9128a37SMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_unicode.rar.uu
599b1c91e4bSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_win32.rar.uu
600833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_rar5_window_buf_and_size_desync.rar.uu
601d5d08d29SMartin Matuska${PACKAGE}FILES+=	test_read_format_raw.bufr.uu
602430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_raw.data.Z.uu
60352c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_raw.data.gz.uu
604430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_raw.data.uu
605cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_concatenated.tar.uu
606430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_tar_empty_filename.tar.uu
60752c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_empty_with_gnulabel.tar.uu
608cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_empty_pax.tar.Z.uu
609430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_tar_filename_koi8r.tar.Z.uu
610bd5e624aSMartin Matuska${PACKAGE}FILES+=	test_read_format_tar_invalid_pax_size.tar.uu
611430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_cp866.tar.Z.uu
612430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_eucjp.tar.Z.uu
613430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_ustar_filename_koi8r.tar.Z.uu
614cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_warc.warc.uu
615*13d826ffSMartin Matuska${PACKAGE}FILES+=	test_read_format_xar_doublelink.xar.uu
616430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip.zip.uu
617d08b7fa2SLi-Wen Hsu${PACKAGE}FILES+=	test_read_format_zip_7075_utf8_paths.zip.uu
618ddce862aSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_7z_deflate.zip.uu
619c3afd20fSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_7z_lzma.zip.uu
620df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bz2_hang.zip.uu
621a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bzip2.zipx.uu
622a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_bzip2_multi.zipx.uu
623430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_comment_stored_1.zip.uu
624430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_comment_stored_2.zip.uu
625cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_data.zip.uu
626cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_header.zip.uu
627cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_encryption_partially.zip.uu
62852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_extra_padding.zip.uu
629430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_cp866.zip.uu
630430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_cp932.zip.uu
631430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_koi8r.zip.uu
632430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_jp.zip.uu
633430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru.zip.uu
634430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru2.zip.uu
635cfa49a9bSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_high_compression.zip.uu
6367105995cSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_jar.jar.uu
637430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_length_at_end.zip.uu
63852c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_alone_leak.zipx.uu
63952c2bb75SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma.zipx.uu
640a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_multi.zipx.uu
641f55be4fcSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_lzma_stream_end.zipx.uu
642430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_mac_metadata.zip.uu
643cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_malformed1.zip.uu
644cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_msdos.zip.uu
645cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_nested.zip.uu
646cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_nofiletype.zip.uu
647cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded1.zip.uu
648cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded2.zip.uu
649cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_padded3.zip.uu
650a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8.zipx.uu
651df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_1.zipx.uu
652df422cb4SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_2.zipx.uu
653a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_ppmd8_multi.zipx.uu
654430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_sfx.uu
655430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_symlink.zip.uu
656cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_traditional_encryption_data.zip.uu
657430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_format_zip_ux.zip.uu
658a8fc61d5SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_with_invalid_traditional_eocd.zip.uu
659cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes128.zip.uu
660cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256.zip.uu
661cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_large.zip.uu
662cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_stored.zip.uu
663a39fc08dSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_xz_multi.zipx.uu
664cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zip64a.zip.uu
665cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zip64b.zip.uu
666833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zstd.zipx.uu
667833a452eSMartin Matuska${PACKAGE}FILES+=	test_read_format_zip_zstd_multi.zipx.uu
668430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_aa.uu
669430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ab.uu
670430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ac.uu
671430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ad.uu
672430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_large_splitted_rar_ae.uu
673de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_read_pax_xattr_rht_security_selinux.tar.uu
674de6fa6b4SMartin Matuska${PACKAGE}FILES+=	test_read_pax_xattr_schily.tar.uu
675430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_aa.uu
676430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ab.uu
677430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ac.uu
678430f7286SEnji Cooper${PACKAGE}FILES+=	test_read_splitted_rar_ad.uu
679cdf63a70SMartin Matuska${PACKAGE}FILES+=	test_read_too_many_filters.gz.uu
680430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_aa.uu
681430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_ab.uu
682430f7286SEnji Cooper${PACKAGE}FILES+=	test_splitted_rar_seek_support_ac.uu
683430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_appledouble.cpio.gz.uu
684*13d826ffSMartin Matuska${PACKAGE}FILES+=	test_write_disk_appledouble_zip.zip.uu
685430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_hfs_compression.tgz.uu
686430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_mac_metadata.tar.gz.uu
687430f7286SEnji Cooper${PACKAGE}FILES+=	test_write_disk_no_hfs_compression.tgz.uu
68859e2ff55SEnji Cooper
68959e2ff55SEnji Cooper.include <bsd.test.mk>
690