Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libarchive/dist/libarchive/test fix test I brok...
details: https://anonhg.NetBSD.org/src/rev/5e7bdedfd77f
branches: trunk
changeset: 467180:5e7bdedfd77f
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 17 00:37:03 2020 +0000
description:
fix test I broke by commenting out flags.
diffstat:
external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 440368165e5c -r 5e7bdedfd77f external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c Fri Jan 17 00:36:20 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c Fri Jan 17 00:37:03 2020 +0000
@@ -87,6 +87,7 @@
#endif
/* Write an absolute symlink to /tmp. */
+ archive_write_disk_set_options(a, ARCHIVE_EXTRACT_SECURE_SYMLINKS);
assert((ae = archive_entry_new()) != NULL);
archive_entry_copy_pathname(ae, "/tmp/libarchive_test-test_write_disk_secure-absolute_symlink");
archive_entry_set_mode(ae, S_IFLNK | 0777);
Home |
Main Index |
Thread Index |
Old Index