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)
Thu, Apr 3, 5:27 PM
Unknown Object (File)
Mon, Mar 31, 4:56 PM
Unknown Object (File)
Feb 22 2025, 2:17 PM
Unknown Object (File)
Feb 22 2025, 1:50 PM
Unknown Object (File)
Jan 29 2025, 4:18 AM
Unknown Object (File)
Jan 27 2025, 4:46 PM
Unknown Object (File)
Jan 27 2025, 1:15 AM
Unknown Object (File)
Jan 24 2025, 5:33 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