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)
Wed, May 22, 4:43 PM
Unknown Object (File)
Sun, May 12, 1:29 PM
Unknown Object (File)
Thu, May 9, 5:23 PM
Unknown Object (File)
Thu, May 9, 8:15 AM
Unknown Object (File)
May 2 2024, 9:22 AM
Unknown Object (File)
Apr 14 2024, 5:35 PM
Unknown Object (File)
Apr 12 2024, 1:23 AM
Unknown Object (File)
Apr 8 2024, 10:28 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.