xref: /freebsd/lib/libarchive/tests/Makefile (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1.include <src.opts.mk>
2
3PACKAGE=	tests
4
5WARNS?=		3
6
7_LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
8
9ATF_TESTS_SH+=	functional_test
10
11TEST_METADATA.functional_test+=	timeout="600"
12
13BINDIR=	${TESTSDIR}
14
15PROGS+=	libarchive_test
16
17CFLAGS+= -I${.CURDIR} -I${.CURDIR:H} -I${.OBJDIR}
18CFLAGS+= -I${_LIBARCHIVEDIR}/libarchive -I${_LIBARCHIVEDIR}/libarchive/test
19CFLAGS+= -I${_LIBARCHIVEDIR}/test_utils
20
21CFLAGS.test_utils.c+=	-Wno-cast-align
22
23# Uncomment to link against dmalloc
24#LDADD+= -L/usr/local/lib -ldmalloc
25#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC
26
27.PATH: ${_LIBARCHIVEDIR}/libarchive/test
28TESTS_SRCS= \
29	test_7zip_filename_encoding.c		\
30	test_acl_nfs4.c				\
31	test_acl_pax.c				\
32	test_acl_platform_nfs4.c		\
33	test_acl_platform_posix1e.c		\
34	test_acl_posix1e.c			\
35	test_acl_text.c				\
36	test_ar_mode.c				\
37	test_archive_api_feature.c		\
38	test_archive_clear_error.c		\
39	test_archive_cmdline.c			\
40	test_archive_digest.c			\
41	test_archive_getdate.c			\
42	test_archive_match_time.c		\
43	test_archive_match_owner.c		\
44	test_archive_match_path.c		\
45	test_archive_pathmatch.c		\
46	test_archive_read.c			\
47	test_archive_read_add_passphrase.c	\
48	test_archive_read_close_twice.c		\
49	test_archive_read_close_twice_open_fd.c	\
50	test_archive_read_close_twice_open_filename.c	\
51	test_archive_read_multiple_data_objects.c	\
52	test_archive_read_next_header_empty.c	\
53	test_archive_read_next_header_raw.c	\
54	test_archive_read_open2.c		\
55	test_archive_read_set_filter_option.c	\
56	test_archive_read_set_format_option.c	\
57	test_archive_read_set_option.c		\
58	test_archive_read_set_options.c		\
59	test_archive_read_support.c		\
60	test_archive_set_error.c		\
61	test_archive_string.c			\
62	test_archive_string_conversion.c	\
63	test_archive_write_add_filter_by_name.c	\
64	test_archive_write_set_filter_option.c	\
65	test_archive_write_set_format_by_name.c	\
66	test_archive_write_set_format_filter_by_ext.c \
67	test_archive_write_set_format_option.c	\
68	test_archive_write_set_option.c		\
69	test_archive_write_set_options.c	\
70	test_archive_write_set_passphrase.c	\
71	test_bad_fd.c				\
72	test_compat_bzip2.c			\
73	test_compat_cpio.c			\
74	test_compat_gtar.c			\
75	test_compat_gzip.c			\
76	test_compat_lz4.c			\
77	test_compat_lzip.c			\
78	test_compat_lzma.c			\
79	test_compat_lzop.c			\
80	test_compat_mac.c			\
81	test_compat_perl_archive_tar.c		\
82	test_compat_plexus_archiver_tar.c	\
83	test_compat_solaris_tar_acl.c		\
84	test_compat_solaris_pax_sparse.c	\
85	test_compat_star_acl.c			\
86	test_compat_tar_directory.c		\
87	test_compat_tar_hardlink.c		\
88	test_compat_uudecode.c			\
89	test_compat_uudecode_large.c		\
90	test_compat_xz.c			\
91	test_compat_zip.c			\
92	test_compat_zstd.c			\
93	test_empty_write.c			\
94	test_entry.c				\
95	test_entry_strmode.c			\
96	test_extattr_freebsd.c			\
97	test_filter_count.c			\
98	test_gnutar_filename_encoding.c		\
99	test_link_resolver.c			\
100	test_open_fd.c				\
101	test_open_failure.c			\
102	test_open_file.c			\
103	test_open_filename.c			\
104	test_pax_filename_encoding.c		\
105	test_pax_xattr_header.c			\
106	test_read_data_large.c			\
107	test_read_disk.c			\
108	test_read_disk_directory_traversals.c	\
109	test_read_disk_entry_from_file.c	\
110	test_read_extract.c			\
111	test_read_file_nonexistent.c		\
112	test_read_filter_compress.c		\
113	test_read_filter_grzip.c		\
114	test_read_filter_gzip_recursive.c	\
115	test_read_filter_lrzip.c		\
116	test_read_filter_lzop.c			\
117	test_read_filter_lzop_multiple_parts.c	\
118	test_read_filter_program.c		\
119	test_read_filter_program_signature.c	\
120	test_read_filter_uudecode.c		\
121	test_read_filter_uudecode_raw.c		\
122	test_read_format_7zip.c			\
123	test_read_format_7zip_encryption_data.c \
124	test_read_format_7zip_encryption_header.c	\
125	test_read_format_7zip_encryption_partially.c	\
126	test_read_format_7zip_malformed.c	\
127	test_read_format_7zip_packinfo_digests.c	\
128	test_read_format_ar.c			\
129	test_read_format_cab.c			\
130	test_read_format_cab_filename.c		\
131	test_read_format_cpio_afio.c		\
132	test_read_format_cpio_bin.c		\
133	test_read_format_cpio_bin_Z.c		\
134	test_read_format_cpio_bin_be.c		\
135	test_read_format_cpio_bin_bz2.c		\
136	test_read_format_cpio_bin_gz.c		\
137	test_read_format_cpio_bin_le.c		\
138	test_read_format_cpio_bin_lzip.c	\
139	test_read_format_cpio_bin_lzma.c	\
140	test_read_format_cpio_bin_xz.c		\
141	test_read_format_cpio_filename.c	\
142	test_read_format_cpio_odc.c		\
143	test_read_format_cpio_svr4_gzip.c	\
144	test_read_format_cpio_svr4c_Z.c		\
145	test_read_format_cpio_svr4_bzip2_rpm.c	\
146	test_read_format_cpio_svr4_gzip_rpm.c	\
147	test_read_format_empty.c		\
148	test_read_format_gtar_filename.c	\
149	test_read_format_gtar_gz.c		\
150	test_read_format_gtar_lzma.c		\
151	test_read_format_gtar_sparse.c		\
152	test_read_format_gtar_sparse_skip_entry.c \
153	test_read_format_huge_rpm.c		\
154	test_read_format_iso_Z.c		\
155	test_read_format_iso_multi_extent.c	\
156	test_read_format_iso_xorriso.c		\
157	test_read_format_isorr_rr_moved.c	\
158	test_read_format_isojoliet_bz2.c	\
159	test_read_format_isojoliet_long.c	\
160	test_read_format_isojoliet_rr.c		\
161	test_read_format_isojoliet_versioned.c	\
162	test_read_format_isorr_bz2.c		\
163	test_read_format_isorr_ce.c		\
164	test_read_format_isorr_new_bz2.c	\
165	test_read_format_isozisofs_bz2.c	\
166	test_read_format_lha.c			\
167	test_read_format_lha_bugfix_0.c		\
168	test_read_format_lha_filename.c		\
169	test_read_format_lha_filename_utf16.c	\
170	test_read_format_mtree.c		\
171	test_read_format_mtree_crash747.c	\
172	test_read_format_pax_bz2.c		\
173	test_read_format_rar.c			\
174	test_read_format_rar5.c			\
175	test_read_format_rar_encryption.c	\
176	test_read_format_rar_encryption_data.c	\
177	test_read_format_rar_encryption_header.c	\
178	test_read_format_rar_encryption_partially.c	\
179	test_read_format_rar_filter.c		\
180	test_read_format_rar_invalid1.c		\
181	test_read_format_raw.c			\
182	test_read_format_tar.c			\
183	test_read_format_tar_concatenated.c	\
184	test_read_format_tar_empty_filename.c	\
185	test_read_format_tar_empty_pax.c	\
186	test_read_format_tar_empty_with_gnulabel.c	\
187	test_read_format_tar_filename.c		\
188	test_read_format_tar_invalid_pax_size.c \
189	test_read_format_tar_pax_large_attr.c	\
190	test_read_format_tbz.c			\
191	test_read_format_tgz.c			\
192	test_read_format_tlz.c			\
193	test_read_format_txz.c			\
194	test_read_format_tz.c			\
195	test_read_format_ustar_filename.c	\
196	test_read_format_warc.c			\
197	test_read_format_xar.c			\
198	test_read_format_xar_doublelink.c	\
199	test_read_format_zip.c			\
200	test_read_format_zip_7075_utf8_paths.c	\
201	test_read_format_zip_comment_stored.c	\
202	test_read_format_zip_encryption_data.c	\
203	test_read_format_zip_encryption_header.c	\
204	test_read_format_zip_encryption_partially.c	\
205	test_read_format_zip_extra_padding.c	\
206	test_read_format_zip_filename.c		\
207	test_read_format_zip_high_compression.c	\
208	test_read_format_zip_jar.c		\
209	test_read_format_zip_mac_metadata.c	\
210	test_read_format_zip_malformed.c	\
211	test_read_format_zip_msdos.c		\
212	test_read_format_zip_nested.c		\
213	test_read_format_zip_nofiletype.c	\
214	test_read_format_zip_padded.c		\
215	test_read_format_zip_sfx.c		\
216	test_read_format_zip_traditional_encryption_data.c	\
217	test_read_format_zip_winzip_aes.c	\
218	test_read_format_zip_winzip_aes_large.c	\
219	test_read_format_zip_with_invalid_traditional_eocd.c	\
220	test_read_format_zip_zip64.c		\
221	test_read_large.c			\
222	test_read_pax_xattr_rht_security_selinux.c	\
223	test_read_pax_xattr_schily.c		\
224	test_read_pax_truncated.c		\
225	test_read_position.c			\
226	test_read_set_format.c			\
227	test_read_too_many_filters.c		\
228	test_read_truncated.c			\
229	test_read_truncated_filter.c		\
230	test_short_writes.c			\
231	test_sparse_basic.c			\
232	test_tar_filenames.c			\
233	test_tar_large.c			\
234	test_warn_missing_hardlink_target.c	\
235	test_ustar_filenames.c			\
236	test_ustar_filename_encoding.c		\
237	test_write_disk.c			\
238	test_write_disk_appledouble.c		\
239	test_write_disk_failures.c		\
240	test_write_disk_fixup.c			\
241	test_write_disk_hardlink.c		\
242	test_write_disk_hfs_compression.c	\
243	test_write_disk_lookup.c		\
244	test_write_disk_mac_metadata.c		\
245	test_write_disk_no_hfs_compression.c	\
246	test_write_disk_perms.c			\
247	test_write_disk_secure.c		\
248	test_write_disk_secure_noabsolutepaths.c	\
249	test_write_disk_secure744.c		\
250	test_write_disk_secure745.c		\
251	test_write_disk_secure746.c		\
252	test_write_disk_sparse.c		\
253	test_write_disk_symlink.c		\
254	test_write_disk_times.c			\
255	test_write_filter_b64encode.c		\
256	test_write_filter_bzip2.c		\
257	test_write_filter_compress.c		\
258	test_write_filter_gzip.c		\
259	test_write_filter_gzip_timestamp.c	\
260	test_write_filter_lrzip.c		\
261	test_write_filter_lz4.c			\
262	test_write_filter_lzip.c		\
263	test_write_filter_lzma.c		\
264	test_write_filter_lzop.c		\
265	test_write_filter_program.c		\
266	test_write_filter_uuencode.c		\
267	test_write_filter_xz.c			\
268	test_write_filter_zstd.c		\
269	test_write_format_7zip.c		\
270	test_write_format_7zip_empty.c		\
271	test_write_format_7zip_large.c		\
272	test_write_format_ar.c			\
273	test_write_format_cpio.c		\
274	test_write_format_cpio_empty.c		\
275	test_write_format_cpio_newc.c		\
276	test_write_format_cpio_odc.c		\
277	test_write_format_gnutar.c		\
278	test_write_format_gnutar_filenames.c	\
279	test_write_format_iso9660.c		\
280	test_write_format_iso9660_boot.c	\
281	test_write_format_iso9660_empty.c	\
282	test_write_format_iso9660_filename.c	\
283	test_write_format_iso9660_zisofs.c	\
284	test_write_format_mtree.c		\
285	test_write_format_mtree_absolute_path.c	\
286	test_write_format_mtree_classic.c	\
287	test_write_format_mtree_classic_indent.c	\
288	test_write_format_mtree_fflags.c	\
289	test_write_format_mtree_no_separator.c	\
290	test_write_format_mtree_quoted_filename.c	\
291	test_write_format_pax.c			\
292	test_write_format_raw.c			\
293	test_write_format_raw_b64.c		\
294	test_write_format_shar_empty.c		\
295	test_write_format_tar.c			\
296	test_write_format_tar_empty.c		\
297	test_write_format_tar_sparse.c		\
298	test_write_format_tar_ustar.c		\
299	test_write_format_tar_v7tar.c		\
300	test_write_format_warc.c		\
301	test_write_format_warc_empty.c		\
302	test_write_format_xar.c			\
303	test_write_format_xar_empty.c		\
304	test_write_format_zip.c			\
305	test_write_format_zip_compression_store.c	\
306	test_write_format_zip_empty.c		\
307	test_write_format_zip_empty_zip64.c	\
308	test_write_format_zip_entry_size_unset.c	\
309	test_write_format_zip_file.c		\
310	test_write_format_zip_file_zip64.c	\
311	test_write_format_zip_large.c		\
312	test_write_format_zip_zip64.c		\
313	test_write_format_zip64_stream.c	\
314	test_write_format_zip_stream.c		\
315	test_write_format_zip_windows_path.c	\
316	test_write_open_memory.c		\
317	test_write_read_format_zip.c		\
318	test_xattr_platform.c			\
319	test_zip_filename_encoding.c
320
321# Deterministic failures:
322# Fails with `test_read_disk_directory_traversals.c:1094: File at has atime 886622, 1443306049 seconds ago`
323BROKEN_TESTS+=			test_read_disk_directory_traversals
324
325.if 0
326# test_fuzz.c is not a real test, but rather a simple fuzz-test using random().
327# Since this is not a regression/unit test, we don't include it by default.
328# If you would still like to include it, comment out the `.if 0`.
329TEST_SCRCS+=	test_fuzz.c
330${PACKAGE}FILES+=	test_fuzz.cab.uu
331${PACKAGE}FILES+=	test_fuzz.lzh.uu
332${PACKAGE}FILES+=	test_fuzz_1.iso.Z.uu
333# Non-deterministic failures:
334# (Times out?) [and] crashes
335BROKEN_TESTS+=			test_fuzz_rar
336.endif
337
338# Build the test program.
339SRCS.libarchive_test=		\
340	${TESTS_SRCS}		\
341	read_open_memory.c	\
342	list.h
343
344LIBADD.libarchive_test=	archive
345
346.PATH: ${_LIBARCHIVEDIR}/test_utils
347SRCS.libarchive_test+=	test_main.c	\
348			test_utils.c
349
350# list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines
351list.h: ${TESTS_SRCS} Makefile
352	@(cd ${_LIBARCHIVEDIR}/libarchive/test && \
353	grep -E -h ^DEFINE_TEST ${.ALLSRC:N*Makefile} | \
354	    egrep -v '${BROKEN_TESTS:tW:C/ /|/g}') > ${.TARGET}.tmp
355	@mv ${.TARGET}.tmp ${.TARGET}
356
357CLEANTESTS+=	list.h list.h.tmp
358${PACKAGE}FILES+=	README
359${PACKAGE}FILES+=	test_acl_pax_posix1e.tar.uu
360${PACKAGE}FILES+=	test_acl_pax_nfs4.tar.uu
361${PACKAGE}FILES+=	test_archive_string_conversion.txt.Z.uu
362${PACKAGE}FILES+=	test_compat_bzip2_1.tbz.uu
363${PACKAGE}FILES+=	test_compat_bzip2_2.tbz.uu
364${PACKAGE}FILES+=	test_compat_cpio_1.cpio.uu
365${PACKAGE}FILES+=	test_compat_gtar_1.tar.uu
366${PACKAGE}FILES+=	test_compat_gtar_2.tar.uu
367${PACKAGE}FILES+=	test_compat_gzip_1.tgz.uu
368${PACKAGE}FILES+=	test_compat_gzip_2.tgz.uu
369${PACKAGE}FILES+=	test_compat_lz4_1.tar.lz4.uu
370${PACKAGE}FILES+=	test_compat_lz4_2.tar.lz4.uu
371${PACKAGE}FILES+=	test_compat_lz4_3.tar.lz4.uu
372${PACKAGE}FILES+=	test_compat_lz4_B4.tar.lz4.uu
373${PACKAGE}FILES+=	test_compat_lz4_B4BD.tar.lz4.uu
374${PACKAGE}FILES+=	test_compat_lz4_B4BDBX.tar.lz4.uu
375${PACKAGE}FILES+=	test_compat_lz4_B5.tar.lz4.uu
376${PACKAGE}FILES+=	test_compat_lz4_B5BD.tar.lz4.uu
377${PACKAGE}FILES+=	test_compat_lz4_B6.tar.lz4.uu
378${PACKAGE}FILES+=	test_compat_lz4_B6BD.tar.lz4.uu
379${PACKAGE}FILES+=	test_compat_lz4_B7.tar.lz4.uu
380${PACKAGE}FILES+=	test_compat_lz4_B7BD.tar.lz4.uu
381${PACKAGE}FILES+=	test_compat_lzip_1.tlz.uu
382${PACKAGE}FILES+=	test_compat_lzip_2.tlz.uu
383${PACKAGE}FILES+=	test_compat_lzip_3.lz.uu
384${PACKAGE}FILES+=	test_compat_lzip_4.tlz.uu
385${PACKAGE}FILES+=	test_compat_lzma_1.tlz.uu
386${PACKAGE}FILES+=	test_compat_lzma_2.tlz.uu
387${PACKAGE}FILES+=	test_compat_lzma_3.tlz.uu
388${PACKAGE}FILES+=	test_compat_lzop_1.tar.lzo.uu
389${PACKAGE}FILES+=	test_compat_lzop_2.tar.lzo.uu
390${PACKAGE}FILES+=	test_compat_lzop_3.tar.lzo.uu
391${PACKAGE}FILES+=	test_compat_mac-1.tar.Z.uu
392${PACKAGE}FILES+=	test_compat_mac-2.tar.Z.uu
393${PACKAGE}FILES+=	test_compat_perl_archive_tar.tar.uu
394${PACKAGE}FILES+=	test_compat_plexus_archiver_tar.tar.uu
395${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_1.pax.Z.uu
396${PACKAGE}FILES+=	test_compat_solaris_pax_sparse_2.pax.Z.uu
397${PACKAGE}FILES+=	test_compat_solaris_tar_acl.tar.uu
398${PACKAGE}FILES+=	test_compat_star_acl_nfs4.tar.uu
399${PACKAGE}FILES+=	test_compat_star_acl_posix1e.tar.uu
400${PACKAGE}FILES+=	test_compat_tar_directory_1.tar.uu
401${PACKAGE}FILES+=	test_compat_tar_hardlink_1.tar.uu
402${PACKAGE}FILES+=	test_compat_uudecode_large.tar.Z.uu
403${PACKAGE}FILES+=	test_compat_xz_1.txz.uu
404${PACKAGE}FILES+=	test_compat_zip_1.zip.uu
405${PACKAGE}FILES+=	test_compat_zip_2.zip.uu
406${PACKAGE}FILES+=	test_compat_zip_3.zip.uu
407${PACKAGE}FILES+=	test_compat_zip_4.zip.uu
408${PACKAGE}FILES+=	test_compat_zip_5.zip.uu
409${PACKAGE}FILES+=	test_compat_zip_6.zip.uu
410${PACKAGE}FILES+=	test_compat_zip_7.xps.uu
411${PACKAGE}FILES+=	test_compat_zip_8.zip.uu
412${PACKAGE}FILES+=	test_compat_zstd_1.tar.zst.uu
413${PACKAGE}FILES+=	test_compat_zstd_2.tar.zst.uu
414${PACKAGE}FILES+=	test_pax_filename_encoding.tar.uu
415${PACKAGE}FILES+=	test_pax_xattr_header_all.tar.uu
416${PACKAGE}FILES+=	test_pax_xattr_header_libarchive.tar.uu
417${PACKAGE}FILES+=	test_pax_xattr_header_schily.tar.uu
418${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part1.rar.uu
419${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part2.rar.uu
420${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part3.rar.uu
421${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part4.rar.uu
422${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part5.rar.uu
423${PACKAGE}FILES+=	test_rar_multivolume_multiple_files.part6.rar.uu
424${PACKAGE}FILES+=	test_rar_multivolume_single_file.part1.rar.uu
425${PACKAGE}FILES+=	test_rar_multivolume_single_file.part2.rar.uu
426${PACKAGE}FILES+=	test_rar_multivolume_single_file.part3.rar.uu
427${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part01.rar.uu
428${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part02.rar.uu
429${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part03.rar.uu
430${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part04.rar.uu
431${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part05.rar.uu
432${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part06.rar.uu
433${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part07.rar.uu
434${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part08.rar.uu
435${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part09.rar.uu
436${PACKAGE}FILES+=	test_rar_multivolume_uncompressed_files.part10.rar.uu
437${PACKAGE}FILES+=	test_read_filter_grzip.tar.grz.uu
438${PACKAGE}FILES+=	test_read_filter_gzip_recursive.gz.uu
439${PACKAGE}FILES+=	test_read_filter_lrzip.tar.lrz.uu
440${PACKAGE}FILES+=	test_read_filter_lzop.tar.lzo.uu
441${PACKAGE}FILES+=	test_read_filter_lzop_multiple_parts.tar.lzo.uu
442${PACKAGE}FILES+=	test_read_filter_uudecode_base64_raw.uu
443${PACKAGE}FILES+=	test_read_filter_uudecode_raw.uu
444${PACKAGE}FILES+=	test_read_format_7zip_bcj2_bzip2.7z.uu
445${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_1.7z.uu
446${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_2.7z.uu
447${PACKAGE}FILES+=	test_read_format_7zip_bcj2_copy_lzma.7z.uu
448${PACKAGE}FILES+=	test_read_format_7zip_bcj2_deflate.7z.uu
449${PACKAGE}FILES+=	test_read_format_7zip_deflate_arm64.7z.uu
450${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_1.7z.uu
451${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma1_2.7z.uu
452${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_1.7z.uu
453${PACKAGE}FILES+=	test_read_format_7zip_bcj2_lzma2_2.7z.uu
454${PACKAGE}FILES+=	test_read_format_7zip_bcj_bzip2.7z.uu
455${PACKAGE}FILES+=	test_read_format_7zip_bcj_copy.7z.uu
456${PACKAGE}FILES+=	test_read_format_7zip_bcj_deflate.7z.uu
457${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma1.7z.uu
458${PACKAGE}FILES+=	test_read_format_7zip_bcj_lzma2.7z.uu
459${PACKAGE}FILES+=	test_read_format_7zip_bzip2.7z.uu
460${PACKAGE}FILES+=	test_read_format_7zip_copy.7z.uu
461${PACKAGE}FILES+=	test_read_format_7zip_copy_2.7z.uu
462${PACKAGE}FILES+=	test_read_format_7zip_deflate.7z.uu
463${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma1.7z.uu
464${PACKAGE}FILES+=	test_read_format_7zip_delta_lzma2.7z.uu
465${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma1.7z.uu
466${PACKAGE}FILES+=	test_read_format_7zip_delta4_lzma2.7z.uu
467${PACKAGE}FILES+=	test_read_format_7zip_empty_archive.7z.uu
468${PACKAGE}FILES+=	test_read_format_7zip_empty_file.7z.uu
469${PACKAGE}FILES+=	test_read_format_7zip_encryption.7z.uu
470${PACKAGE}FILES+=	test_read_format_7zip_encryption_header.7z.uu
471${PACKAGE}FILES+=	test_read_format_7zip_encryption_partially.7z.uu
472${PACKAGE}FILES+=	test_read_format_7zip_extract_second.7z.uu
473${PACKAGE}FILES+=	test_read_format_7zip_lzma1.7z.uu
474${PACKAGE}FILES+=	test_read_format_7zip_lzma1_2.7z.uu
475${PACKAGE}FILES+=	test_read_format_7zip_lzma1_lzma2.7z.uu
476${PACKAGE}FILES+=	test_read_format_7zip_lzma2.7z.uu
477${PACKAGE}FILES+=	test_read_format_7zip_lzma2_arm.7z.uu
478${PACKAGE}FILES+=	test_read_format_7zip_lzma2_arm64.7z.uu
479${PACKAGE}FILES+=	test_read_format_7zip_malformed.7z.uu
480${PACKAGE}FILES+=	test_read_format_7zip_malformed2.7z.uu
481${PACKAGE}FILES+=	test_read_format_7zip_packinfo_digests.7z.uu
482${PACKAGE}FILES+=	test_read_format_7zip_ppmd.7z.uu
483${PACKAGE}FILES+=	test_read_format_7zip_solid_zstd.7z.uu
484${PACKAGE}FILES+=	test_read_format_7zip_symbolic_name.7z.uu
485${PACKAGE}FILES+=	test_read_format_7zip_zstd.7z.uu
486${PACKAGE}FILES+=	test_read_format_7zip_zstd_arm.7z.uu
487${PACKAGE}FILES+=	test_read_format_7zip_zstd_bcj.7z.uu
488${PACKAGE}FILES+=	test_read_format_7zip_zstd_nobcj.7z.uu
489${PACKAGE}FILES+=	test_read_format_7zip_win_attrib.7z.uu
490${PACKAGE}FILES+=	test_read_format_ar.ar.uu
491${PACKAGE}FILES+=	test_read_format_cab_1.cab.uu
492${PACKAGE}FILES+=	test_read_format_cab_2.cab.uu
493${PACKAGE}FILES+=	test_read_format_cab_3.cab.uu
494${PACKAGE}FILES+=	test_read_format_cab_filename_cp932.cab.uu
495${PACKAGE}FILES+=	test_read_format_cpio_bin_be.cpio.uu
496${PACKAGE}FILES+=	test_read_format_cpio_bin_le.cpio.uu
497${PACKAGE}FILES+=	test_read_format_cpio_filename_cp866.cpio.uu
498${PACKAGE}FILES+=	test_read_format_cpio_filename_eucjp.cpio.uu
499${PACKAGE}FILES+=	test_read_format_cpio_filename_koi8r.cpio.uu
500${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_jp.cpio.uu
501${PACKAGE}FILES+=	test_read_format_cpio_filename_utf8_ru.cpio.uu
502${PACKAGE}FILES+=	test_read_format_cpio_svr4_bzip2_rpm.rpm.uu
503${PACKAGE}FILES+=	test_read_format_cpio_svr4_gzip_rpm.rpm.uu
504${PACKAGE}FILES+=	test_read_format_gtar_filename_cp866.tar.Z.uu
505${PACKAGE}FILES+=	test_read_format_gtar_filename_eucjp.tar.Z.uu
506${PACKAGE}FILES+=	test_read_format_gtar_filename_koi8r.tar.Z.uu
507${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_13.tar.uu
508${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17.tar.uu
509${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix00.tar.uu
510${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix01.tar.uu
511${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10.tar.uu
512${PACKAGE}FILES+=	test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu
513${PACKAGE}FILES+=	test_read_format_gtar_sparse_skip_entry.tar.Z.uu
514${PACKAGE}FILES+=	test_read_format_huge_rpm.rpm.uu
515${PACKAGE}FILES+=	test_read_format_iso.iso.Z.uu
516${PACKAGE}FILES+=	test_read_format_iso_2.iso.Z.uu
517${PACKAGE}FILES+=	test_read_format_iso_3.iso.Z.uu
518${PACKAGE}FILES+=	test_read_format_iso_joliet.iso.Z.uu
519${PACKAGE}FILES+=	test_read_format_iso_joliet_by_nero.iso.Z.uu
520${PACKAGE}FILES+=	test_read_format_iso_joliet_long.iso.Z.uu
521${PACKAGE}FILES+=	test_read_format_iso_joliet_rockridge.iso.Z.uu
522${PACKAGE}FILES+=	test_read_format_iso_multi_extent.iso.Z.uu
523${PACKAGE}FILES+=	test_read_format_iso_rockridge.iso.Z.uu
524${PACKAGE}FILES+=	test_read_format_iso_rockridge_ce.iso.Z.uu
525${PACKAGE}FILES+=	test_read_format_iso_rockridge_new.iso.Z.uu
526${PACKAGE}FILES+=	test_read_format_iso_rockridge_rr_moved.iso.Z.uu
527${PACKAGE}FILES+=	test_read_format_iso_xorriso.iso.Z.uu
528${PACKAGE}FILES+=	test_read_format_iso_zisofs.iso.Z.uu
529${PACKAGE}FILES+=	test_read_format_lha_bugfix_0.lzh.uu
530${PACKAGE}FILES+=	test_read_format_lha_filename_cp932.lzh.uu
531${PACKAGE}FILES+=	test_read_format_lha_filename_utf16.lzh.uu
532${PACKAGE}FILES+=	test_read_format_lha_header0.lzh.uu
533${PACKAGE}FILES+=	test_read_format_lha_header1.lzh.uu
534${PACKAGE}FILES+=	test_read_format_lha_header2.lzh.uu
535${PACKAGE}FILES+=	test_read_format_lha_header3.lzh.uu
536${PACKAGE}FILES+=	test_read_format_lha_lh0.lzh.uu
537${PACKAGE}FILES+=	test_read_format_lha_lh6.lzh.uu
538${PACKAGE}FILES+=	test_read_format_lha_lh7.lzh.uu
539${PACKAGE}FILES+=	test_read_format_lha_withjunk.lzh.uu
540${PACKAGE}FILES+=	test_read_format_mtree.mtree.uu
541${PACKAGE}FILES+=	test_read_format_mtree_crash747.mtree.bz2.uu
542${PACKAGE}FILES+=	test_read_format_mtree_nomagic.mtree.uu
543${PACKAGE}FILES+=	test_read_format_mtree_nomagic2.mtree.uu
544${PACKAGE}FILES+=	test_read_format_mtree_nomagic3.mtree.uu
545${PACKAGE}FILES+=	test_read_format_mtree_noprint.mtree.uu
546${PACKAGE}FILES+=	test_read_format_rar.rar.uu
547${PACKAGE}FILES+=	test_read_format_rar_binary_data.rar.uu
548${PACKAGE}FILES+=	test_read_format_rar_compress_best.rar.uu
549${PACKAGE}FILES+=	test_read_format_rar_compress_normal.rar.uu
550${PACKAGE}FILES+=	test_read_format_rar_encryption_data.rar.uu
551${PACKAGE}FILES+=	test_read_format_rar_encryption_header.rar.uu
552${PACKAGE}FILES+=	test_read_format_rar_encryption_partially.rar.uu
553${PACKAGE}FILES+=	test_read_format_rar_filter.rar.uu
554${PACKAGE}FILES+=	test_read_format_rar_invalid1.rar.uu
555${PACKAGE}FILES+=	test_read_format_rar_multi_lzss_blocks.rar.uu
556${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0001.rar.uu
557${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0002.rar.uu
558${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0003.rar.uu
559${PACKAGE}FILES+=	test_read_format_rar_multivolume.part0004.rar.uu
560${PACKAGE}FILES+=	test_read_format_rar_noeof.rar.uu
561${PACKAGE}FILES+=	test_read_format_rar_ppmd_lzss_conversion.rar.uu
562${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free.rar.uu
563${PACKAGE}FILES+=	test_read_format_rar_ppmd_use_after_free2.rar.uu
564${PACKAGE}FILES+=	test_read_format_rar_sfx.exe.uu
565${PACKAGE}FILES+=	test_read_format_rar_subblock.rar.uu
566${PACKAGE}FILES+=	test_read_format_rar_unicode.rar.uu
567${PACKAGE}FILES+=	test_read_format_rar_windows.rar.uu
568${PACKAGE}FILES+=	test_read_format_rar4_encrypted.rar.uu
569${PACKAGE}FILES+=	test_read_format_rar4_encrypted_filenames.rar.uu
570${PACKAGE}FILES+=	test_read_format_rar4_solid_encrypted.rar.uu
571${PACKAGE}FILES+=	test_read_format_rar4_solid_encrypted_filenames.rar.uu
572${PACKAGE}FILES+=	test_read_format_rar5_arm.rar.uu
573${PACKAGE}FILES+=	test_read_format_rar5_arm_filter_on_window_boundary.rar.uu
574${PACKAGE}FILES+=	test_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu
575${PACKAGE}FILES+=	test_read_format_rar5_data_ready_pointer_leak.rar.uu
576${PACKAGE}FILES+=	test_read_format_rar5_blake2.rar.uu
577${PACKAGE}FILES+=	test_read_format_rar5_block_size_is_too_small.rar.uu
578${PACKAGE}FILES+=	test_read_format_rar5_compressed.rar.uu
579${PACKAGE}FILES+=	test_read_format_rar5_decode_number_out_of_bounds_read.rar.uu
580${PACKAGE}FILES+=	test_read_format_rar5_different_solid_window_size.rar.uu
581${PACKAGE}FILES+=	test_read_format_rar5_different_window_size.rar.uu
582${PACKAGE}FILES+=	test_read_format_rar5_different_winsize_on_merge.rar.uu
583${PACKAGE}FILES+=	test_read_format_rar5_distance_overflow.rar.uu
584${PACKAGE}FILES+=	test_read_format_rar5_encrypted.rar.uu
585${PACKAGE}FILES+=	test_read_format_rar5_encrypted_filenames.rar.uu
586${PACKAGE}FILES+=	test_read_format_rar5_solid_encrypted.rar.uu
587${PACKAGE}FILES+=	test_read_format_rar5_solid_encrypted_filenames.rar.uu
588${PACKAGE}FILES+=	test_read_format_rar5_extra_field_version.rar.uu
589${PACKAGE}FILES+=	test_read_format_rar5_fileattr.rar.uu
590${PACKAGE}FILES+=	test_read_format_rar5_hardlink.rar.uu
591${PACKAGE}FILES+=	test_read_format_rar5_invalid_dict_reference.rar.uu
592${PACKAGE}FILES+=	test_read_format_rar5_leftshift1.rar.uu
593${PACKAGE}FILES+=	test_read_format_rar5_leftshift2.rar.uu
594${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part01.rar.uu
595${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part02.rar.uu
596${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part03.rar.uu
597${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part04.rar.uu
598${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part05.rar.uu
599${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part06.rar.uu
600${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part07.rar.uu
601${PACKAGE}FILES+=	test_read_format_rar5_multiarchive.part08.rar.uu
602${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part01.rar.uu
603${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part02.rar.uu
604${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part03.rar.uu
605${PACKAGE}FILES+=	test_read_format_rar5_multiarchive_solid.part04.rar.uu
606${PACKAGE}FILES+=	test_read_format_rar5_multiple_files.rar.uu
607${PACKAGE}FILES+=	test_read_format_rar5_multiple_files_solid.rar.uu
608${PACKAGE}FILES+=	test_read_format_rar5_nonempty_dir_stream.rar.uu
609${PACKAGE}FILES+=	test_read_format_rar5_owner.rar.uu
610${PACKAGE}FILES+=	test_read_format_rar5_readtables_overflow.rar.uu
611${PACKAGE}FILES+=	test_read_format_rar5_sfx.exe.uu
612${PACKAGE}FILES+=	test_read_format_rar5_solid.rar.uu
613${PACKAGE}FILES+=	test_read_format_rar5_stored.rar.uu
614${PACKAGE}FILES+=	test_read_format_rar5_stored_manyfiles.rar.uu
615${PACKAGE}FILES+=	test_read_format_rar5_symlink.rar.uu
616${PACKAGE}FILES+=	test_read_format_rar5_truncated_huff.rar.uu
617${PACKAGE}FILES+=	test_read_format_rar5_unicode.rar.uu
618${PACKAGE}FILES+=	test_read_format_rar5_win32.rar.uu
619${PACKAGE}FILES+=	test_read_format_rar5_window_buf_and_size_desync.rar.uu
620${PACKAGE}FILES+=	test_read_format_raw.bufr.uu
621${PACKAGE}FILES+=	test_read_format_raw.data.Z.uu
622${PACKAGE}FILES+=	test_read_format_raw.data.gz.uu
623${PACKAGE}FILES+=	test_read_format_raw.data.uu
624${PACKAGE}FILES+=	test_read_format_tar_concatenated.tar.uu
625${PACKAGE}FILES+=	test_read_format_tar_empty_filename.tar.uu
626${PACKAGE}FILES+=	test_read_format_tar_empty_with_gnulabel.tar.uu
627${PACKAGE}FILES+=	test_read_format_tar_empty_pax.tar.Z.uu
628${PACKAGE}FILES+=	test_read_format_tar_filename_koi8r.tar.Z.uu
629${PACKAGE}FILES+=	test_read_format_tar_invalid_pax_size.tar.uu
630${PACKAGE}FILES+=	test_read_format_tar_pax_large_attr.tar.Z.uu
631${PACKAGE}FILES+=	test_read_format_ustar_filename_cp866.tar.Z.uu
632${PACKAGE}FILES+=	test_read_format_ustar_filename_eucjp.tar.Z.uu
633${PACKAGE}FILES+=	test_read_format_ustar_filename_koi8r.tar.Z.uu
634${PACKAGE}FILES+=	test_read_format_warc.warc.uu
635${PACKAGE}FILES+=	test_read_format_xar_doublelink.xar.uu
636${PACKAGE}FILES+=	test_read_format_xar_duplicate_filename_node.xar.uu
637${PACKAGE}FILES+=	test_read_format_zip.zip.uu
638${PACKAGE}FILES+=	test_read_format_zip_7075_utf8_paths.zip.uu
639${PACKAGE}FILES+=	test_read_format_zip_7z_deflate.zip.uu
640${PACKAGE}FILES+=	test_read_format_zip_7z_lzma.zip.uu
641${PACKAGE}FILES+=	test_read_format_zip_bz2_hang.zip.uu
642${PACKAGE}FILES+=	test_read_format_zip_bzip2.zipx.uu
643${PACKAGE}FILES+=	test_read_format_zip_bzip2_multi.zipx.uu
644${PACKAGE}FILES+=	test_read_format_zip_comment_stored_1.zip.uu
645${PACKAGE}FILES+=	test_read_format_zip_comment_stored_2.zip.uu
646${PACKAGE}FILES+=	test_read_format_zip_encryption_data.zip.uu
647${PACKAGE}FILES+=	test_read_format_zip_encryption_header.zip.uu
648${PACKAGE}FILES+=	test_read_format_zip_encryption_partially.zip.uu
649${PACKAGE}FILES+=	test_read_format_zip_extra_padding.zip.uu
650${PACKAGE}FILES+=	test_read_format_zip_filename_cp866.zip.uu
651${PACKAGE}FILES+=	test_read_format_zip_filename_cp932.zip.uu
652${PACKAGE}FILES+=	test_read_format_zip_filename_koi8r.zip.uu
653${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_jp.zip.uu
654${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru.zip.uu
655${PACKAGE}FILES+=	test_read_format_zip_filename_utf8_ru2.zip.uu
656${PACKAGE}FILES+=	test_read_format_zip_high_compression.zip.uu
657${PACKAGE}FILES+=	test_read_format_zip_jar.jar.uu
658${PACKAGE}FILES+=	test_read_format_zip_length_at_end.zip.uu
659${PACKAGE}FILES+=	test_read_format_zip_lzma_alone_leak.zipx.uu
660${PACKAGE}FILES+=	test_read_format_zip_lzma.zipx.uu
661${PACKAGE}FILES+=	test_read_format_zip_lzma_multi.zipx.uu
662${PACKAGE}FILES+=	test_read_format_zip_lzma_stream_end.zipx.uu
663${PACKAGE}FILES+=	test_read_format_zip_mac_metadata.zip.uu
664${PACKAGE}FILES+=	test_read_format_zip_malformed1.zip.uu
665${PACKAGE}FILES+=	test_read_format_zip_msdos.zip.uu
666${PACKAGE}FILES+=	test_read_format_zip_nested.zip.uu
667${PACKAGE}FILES+=	test_read_format_zip_nofiletype.zip.uu
668${PACKAGE}FILES+=	test_read_format_zip_padded1.zip.uu
669${PACKAGE}FILES+=	test_read_format_zip_padded2.zip.uu
670${PACKAGE}FILES+=	test_read_format_zip_padded3.zip.uu
671${PACKAGE}FILES+=	test_read_format_zip_ppmd8.zipx.uu
672${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_1.zipx.uu
673${PACKAGE}FILES+=	test_read_format_zip_ppmd8_crash_2.zipx.uu
674${PACKAGE}FILES+=	test_read_format_zip_ppmd8_multi.zipx.uu
675${PACKAGE}FILES+=	test_read_format_zip_sfx.uu
676${PACKAGE}FILES+=	test_read_format_zip_symlink.zip.uu
677${PACKAGE}FILES+=	test_read_format_zip_traditional_encryption_data.zip.uu
678${PACKAGE}FILES+=	test_read_format_zip_ux.zip.uu
679${PACKAGE}FILES+=	test_read_format_zip_with_invalid_traditional_eocd.zip.uu
680${PACKAGE}FILES+=	test_read_format_zip_winzip_aes128.zip.uu
681${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256.zip.uu
682${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_large.zip.uu
683${PACKAGE}FILES+=	test_read_format_zip_winzip_aes256_stored.zip.uu
684${PACKAGE}FILES+=	test_read_format_zip_xz_multi.zipx.uu
685${PACKAGE}FILES+=	test_read_format_zip_zip64a.zip.uu
686${PACKAGE}FILES+=	test_read_format_zip_zip64b.zip.uu
687${PACKAGE}FILES+=	test_read_format_zip_zstd.zipx.uu
688${PACKAGE}FILES+=	test_read_format_zip_zstd_multi.zipx.uu
689${PACKAGE}FILES+=	test_read_large_splitted_rar_aa.uu
690${PACKAGE}FILES+=	test_read_large_splitted_rar_ab.uu
691${PACKAGE}FILES+=	test_read_large_splitted_rar_ac.uu
692${PACKAGE}FILES+=	test_read_large_splitted_rar_ad.uu
693${PACKAGE}FILES+=	test_read_large_splitted_rar_ae.uu
694${PACKAGE}FILES+=	test_read_pax_xattr_rht_security_selinux.tar.uu
695${PACKAGE}FILES+=	test_read_pax_xattr_schily.tar.uu
696${PACKAGE}FILES+=	test_read_splitted_rar_aa.uu
697${PACKAGE}FILES+=	test_read_splitted_rar_ab.uu
698${PACKAGE}FILES+=	test_read_splitted_rar_ac.uu
699${PACKAGE}FILES+=	test_read_splitted_rar_ad.uu
700${PACKAGE}FILES+=	test_read_too_many_filters.gz.uu
701${PACKAGE}FILES+=	test_splitted_rar_seek_support_aa.uu
702${PACKAGE}FILES+=	test_splitted_rar_seek_support_ab.uu
703${PACKAGE}FILES+=	test_splitted_rar_seek_support_ac.uu
704${PACKAGE}FILES+=	test_write_disk_appledouble.cpio.gz.uu
705${PACKAGE}FILES+=	test_write_disk_appledouble_zip.zip.uu
706${PACKAGE}FILES+=	test_write_disk_hfs_compression.tgz.uu
707${PACKAGE}FILES+=	test_write_disk_mac_metadata.tar.gz.uu
708${PACKAGE}FILES+=	test_write_disk_no_hfs_compression.tgz.uu
709
710.include <bsd.test.mk>
711