Page MenuHomeFreeBSD

cp: Add tests for symbolic link case.
ClosedPublic

Authored by des on Dec 13 2023, 11:05 PM.
Tags
None
Referenced Files
F161457670: D43054.diff
Fri, Jul 3, 11:58 PM
Unknown Object (File)
Tue, Jun 30, 10:42 AM
Unknown Object (File)
Tue, Jun 30, 10:42 AM
Unknown Object (File)
May 13 2026, 5:22 AM
Unknown Object (File)
May 13 2026, 5:22 AM
Unknown Object (File)
May 13 2026, 5:17 AM
Unknown Object (File)
Apr 28 2026, 3:14 PM
Unknown Object (File)
Apr 27 2026, 2:56 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Dec 13 2023, 11:05 PM

It didn't occur to me until after I'd already committed D43052 that we didn't have tests for -s either (the basic_symlink case just checks that a normal cp does nothing if the destination is already a link to the source, or vice versa).

This revision is now accepted and ready to land.Dec 13 2023, 11:09 PM
allanjude added a subscriber: allanjude.

reviewed-by: allanjude

This revision was automatically updated to reflect the committed changes.