mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
Clarify one test.
Approved by: re (blanket, libarchive testing)
This commit is contained in:
parent
f0441453c1
commit
58bdc3275c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171458
@ -235,7 +235,7 @@ DEFINE_TEST(test_write_disk_perms)
|
||||
archive_entry_set_uid(ae, getuid() + 1);
|
||||
archive_write_disk_set_options(a, ARCHIVE_EXTRACT_PERM);
|
||||
assertA(0 == archive_write_header(a, ae));
|
||||
assertA(ARCHIVE_WARN == archive_write_finish_entry(a));
|
||||
assertEqualInt(ARCHIVE_WARN, archive_write_finish_entry(a));
|
||||
|
||||
/* Write a regular file with ARCHIVE_EXTRACT_PERM & SGID bit */
|
||||
assert(archive_entry_clear(ae) != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user