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
F102700521: D43062.diff
Sat, Nov 16, 1:16 AM
Unknown Object (File)
Oct 7 2024, 12:33 PM
Unknown Object (File)
Oct 1 2024, 12:41 PM
Unknown Object (File)
Sep 27 2024, 10:14 AM
Unknown Object (File)
Sep 24 2024, 5:23 PM
Unknown Object (File)
Sep 24 2024, 5:23 PM
Unknown Object (File)
Sep 24 2024, 5:23 PM
Unknown Object (File)
Sep 23 2024, 4:17 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 Not Applicable
Unit
Tests Not Applicable