mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 05:25:12 +00:00
Correct the comments here.
PR: bin/126849 MFC after: 3 days
This commit is contained in:
parent
11663004bd
commit
7480311f87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182839
@ -145,7 +145,7 @@ DEFINE_TEST(test_write_disk_secure)
|
||||
archive_entry_set_mode(ae, S_IFDIR | 0777);
|
||||
assert(0 == archive_write_header(a, ae));
|
||||
assert(0 == archive_write_finish_entry(a));
|
||||
/* Verify link was followed. */
|
||||
/* Verify link was replaced. */
|
||||
assertEqualInt(0, lstat("link_to_dir4", &st));
|
||||
assert(S_ISDIR(st.st_mode));
|
||||
archive_entry_free(ae);
|
||||
@ -173,7 +173,7 @@ DEFINE_TEST(test_write_disk_secure)
|
||||
archive_entry_set_mode(ae, S_IFDIR | 0777);
|
||||
assert(0 == archive_write_header(a, ae));
|
||||
assert(0 == archive_write_finish_entry(a));
|
||||
/* Verify link was followed. */
|
||||
/* Verify link was replaced. */
|
||||
assertEqualInt(0, lstat("link_to_dir5", &st));
|
||||
assert(S_ISDIR(st.st_mode));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user