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
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
Unknown Object (File)
May 2 2024, 1:52 PM
Unknown Object (File)
Apr 14 2024, 5:35 PM
Unknown Object (File)
Apr 8 2024, 10:28 PM
Unknown Object (File)
Mar 16 2024, 5:49 AM
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 Not Applicable
Unit
Tests Not Applicable