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