Page MenuHomeFreeBSD

cp: Split the basic_symlink test case in two.
ClosedPublic

Authored by des on Dec 14 2023, 3:01 PM.
Tags
None
Referenced Files
F87343532: D43062.id131438.diff
Mon, Jul 1, 10:02 PM
Unknown Object (File)
Sun, Jun 30, 7:42 PM
Unknown Object (File)
Sat, Jun 29, 9:05 PM
Unknown Object (File)
Sat, Jun 29, 4:52 AM
Unknown Object (File)
Wed, Jun 26, 5:41 AM
Unknown Object (File)
May 9 2024, 5:00 AM
Unknown Object (File)
May 9 2024, 4:57 AM
Unknown Object (File)
May 8 2024, 7:44 PM
Subscribers

Details

Summary

This test case tests two different things: first, that copying a symlink
results in a file with the same contents as the target of the symlink,
rather than a second symlink, and second, that cp will refuse to copy a
file to itself, or to a link to itself, or a link to its target. Leave
the first part in basic_symlink, move the second part to a new test case
named samefile, and slightly expand both cases.

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54948
Build 51837: arc lint + arc unit