summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/test/Makefile
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-07-13 15:12:52 +0000
committerkientzle <kientzle@FreeBSD.org>2007-07-13 15:12:52 +0000
commit3d75250ebcde18fa1545676cc5035c4e6c247134 (patch)
tree26bf4a14f1efe80f266ccc5c9364eda8e5ba8424 /lib/libarchive/test/Makefile
parentcc97c4dd3b512399e445c9b55ad07ee44d05926d (diff)
downloadFreeBSD-src-3d75250ebcde18fa1545676cc5035c4e6c247134.zip
FreeBSD-src-3d75250ebcde18fa1545676cc5035c4e6c247134.tar.gz
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)
Diffstat (limited to 'lib/libarchive/test/Makefile')
-rw-r--r--lib/libarchive/test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/test/Makefile b/lib/libarchive/test/Makefile
index dc76790..82dce7c 100644
--- a/lib/libarchive/test/Makefile
+++ b/lib/libarchive/test/Makefile
@@ -46,7 +46,8 @@ TESTS= \
SRCS= ${TESTS} \
list.h \
- main.c
+ main.c \
+ read_open_memory.c
CLEANFILES+= list.h
OpenPOWER on IntegriCloud