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