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