cvs commit: src/lib/libarchive/test Makefile read_open_memory.c
test.h
Tim Kientzle
kientzle at FreeBSD.org
Fri Jul 13 15:12:52 UTC 2007
kientzle 2007-07-13 15:12:52 UTC
FreeBSD src repository
Modified files:
lib/libarchive/test Makefile test.h
Added files:
lib/libarchive/test read_open_memory.c
Log:
New file "read_open_memory.c" is a custom variant of
archive_read_open_memory.c that tries to test border
cases. In particular, it copies over each returned block
so that formats or decompressors that read past the end
of a returned block will break.
Approved by: re (blanket, libarchive test suite)
Revision Changes Path
1.10 +2 -1 src/lib/libarchive/test/Makefile
1.1 +148 -0 src/lib/libarchive/test/read_open_memory.c (new)
1.5 +3 -0 src/lib/libarchive/test/test.h
More information about the cvs-src
mailing list