Page MenuHomeFreeBSD

cp: Add tests for symbolic link case.
ClosedPublic

Authored by des on Dec 13 2023, 11:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 9:23 PM
Unknown Object (File)
Oct 10 2024, 12:04 AM
Unknown Object (File)
Oct 7 2024, 12:33 PM
Unknown Object (File)
Oct 4 2024, 3:58 AM
Unknown Object (File)
Sep 18 2024, 9:42 AM
Unknown Object (File)
Sep 7 2024, 10:00 PM
Unknown Object (File)
Sep 7 2024, 12:30 PM
Unknown Object (File)
Sep 6 2024, 1:31 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.