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 ...

Tim Kientzle kientzle at FreeBSD.org
Tue Jan 1 14:28:06 PST 2008


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)


More information about the cvs-src mailing list