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