From owner-cvs-src@FreeBSD.ORG Tue Jan 1 22:28:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4A7D16A473; Tue, 1 Jan 2008 22:28:05 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CE5C013C455; Tue, 1 Jan 2008 22:28:05 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m01MS5I0050530; Tue, 1 Jan 2008 22:28:05 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m01MS5Am050529; Tue, 1 Jan 2008 22:28:05 GMT (envelope-from kientzle) Message-Id: <200801012228.m01MS5Am050529@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 1 Jan 2008 22:28:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libarchive/test Makefile README main.c read_open_memory.c test.h test_compat_gtar.c test_compat_gtar_1.tgz.uu test_compat_zip.c test_compat_zip_1.zip.uu test_empty_write.c test_entry_strmode.c test_read_format_cpio_odc.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2008 22:28:06 -0000 kientzle 2008-01-01 22:28:05 UTC FreeBSD src repository Modified files: lib/libarchive/test Makefile README main.c read_open_memory.c test.h test_read_format_cpio_odc.c test_read_format_gtar_sparse.c test_read_format_isorr_bz2.c test_read_format_zip.c test_read_pax_truncated.c test_tar_filenames.c test_write_disk_perms.c test_write_format_cpio.c Added files: lib/libarchive/test test_compat_gtar.c test_compat_gtar_1.tgz.uu test_compat_zip.c test_compat_zip_1.zip.uu test_empty_write.c test_entry_strmode.c test_read_format_gtar_sparse_1_13.tgz.uu test_read_format_gtar_sparse_1_17.tgz.uu test_read_format_gtar_sparse_1_17_posix00.tgz.uu test_read_format_gtar_sparse_1_17_posix01.tgz.uu test_read_format_gtar_sparse_1_17_posix10.tgz.uu test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu test_read_format_mtree.c test_tar_large.c test_write_format_cpio_newc.c test_write_format_cpio_odc.c Log: Extensive improvements to the libarchive_test test program that exercises and verifies the libarchive APIs: * Improved error reporting; hexdumps are now provided for many file/memory content differences. * Overall status more clearly counts "tests" and "assertions" * Reference files can now be stored on disk instead of having to be compiled into the test program itself. A couple of tests have been converted to this more natural structure. * Several memory leaks corrected so that leaks within libarchive itself can be more easily detected and diagnosed. * New test: GNU tar compatibility * New test: Zip compatibility * New test: Zero-byte writes to a compressed archive entry * New test: archive_entry_strmode() format verification * New test: mtree reader * New test: write/read of large (2G - 1TB) entries to tar archives (thanks to recent performance work, this test only requires a few seconds) * New test: detailed format verification of cpio odc and newc writers * Many minor additions/improvements to existing tests as well. Revision Changes Path 1.12 +62 -16 src/lib/libarchive/test/Makefile 1.3 +10 -2 src/lib/libarchive/test/README 1.9 +353 -54 src/lib/libarchive/test/main.c 1.2 +1 -1 src/lib/libarchive/test/read_open_memory.c 1.7 +64 -40 src/lib/libarchive/test/test.h 1.1 +110 -0 src/lib/libarchive/test/test_compat_gtar.c (new) 1.1 +9 -0 src/lib/libarchive/test/test_compat_gtar_1.tgz.uu (new) 1.1 +69 -0 src/lib/libarchive/test/test_compat_zip.c (new) 1.1 +14 -0 src/lib/libarchive/test/test_compat_zip_1.zip.uu (new) 1.1 +118 -0 src/lib/libarchive/test/test_empty_write.c (new) 1.1 +48 -0 src/lib/libarchive/test/test_entry_strmode.c (new) 1.2 +1 -1 src/lib/libarchive/test/test_read_format_cpio_odc.c 1.7 +47 -652 src/lib/libarchive/test/test_read_format_gtar_sparse.c 1.1 +26 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu (new) 1.1 +26 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu (new) 1.1 +29 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu (new) 1.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu (new) 1.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tgz.uu (new) 1.1 +1369 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu (new) 1.3 +3 -0 src/lib/libarchive/test/test_read_format_isorr_bz2.c 1.1 +113 -0 src/lib/libarchive/test/test_read_format_mtree.c (new) 1.3 +6 -0 src/lib/libarchive/test/test_read_format_zip.c 1.2 +2 -2 src/lib/libarchive/test/test_read_pax_truncated.c 1.8 +1 -1 src/lib/libarchive/test/test_tar_filenames.c 1.1 +309 -0 src/lib/libarchive/test/test_tar_large.c (new) 1.8 +19 -14 src/lib/libarchive/test/test_write_disk_perms.c 1.4 +63 -7 src/lib/libarchive/test/test_write_format_cpio.c 1.1 +172 -0 src/lib/libarchive/test/test_write_format_cpio_newc.c (new) 1.1 +224 -0 src/lib/libarchive/test/test_write_format_cpio_odc.c (new)