summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/test/Makefile
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-01-21 06:55:27 +0000
committerkientzle <kientzle@FreeBSD.org>2009-01-21 06:55:27 +0000
commit6db44bd9b7e133965f4557d4403d0dc6d8b370ad (patch)
tree5fbd6525820818c1402933c6a27ebfeb25e66dd6 /lib/libarchive/test/Makefile
parent50e14c608efac2da56f8271a909fc7bc5396f053 (diff)
downloadFreeBSD-src-6db44bd9b7e133965f4557d4403d0dc6d8b370ad.zip
FreeBSD-src-6db44bd9b7e133965f4557d4403d0dc6d8b370ad.tar.gz
Merge-from-Googlecode r419
In archive_write_disk: If archive_write_header() fails to create the file, that's a failure and should return ARCHIVE_FAILED. Metadata restore failures still return ARCHIVE_WARN, because that's non-critical. Fix test_write_disk_secure test to verify the correct return code in one case; add test_write_disk_failures to do another very simple test of restore failure. This should fix cpio coredumping when it tries to restore to a write-protected directory. Thanks to: Giorgos Keramidas MFC after: 30 days
Diffstat (limited to 'lib/libarchive/test/Makefile')
-rw-r--r--lib/libarchive/test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/test/Makefile b/lib/libarchive/test/Makefile
index cb532aa..68a3c0c 100644
--- a/lib/libarchive/test/Makefile
+++ b/lib/libarchive/test/Makefile
@@ -58,6 +58,7 @@ TESTS= \
test_write_compress.c \
test_write_compress_program.c \
test_write_disk.c \
+ test_write_disk_failures.c \
test_write_disk_hardlink.c \
test_write_disk_perms.c \
test_write_disk_secure.c \
OpenPOWER on IntegriCloud