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)
Sun, Nov 23, 4:06 AM
Unknown Object (File)
Wed, Nov 5, 5:25 AM
Unknown Object (File)
Tue, Nov 4, 9:05 PM
Unknown Object (File)
Sat, Nov 1, 1:01 AM
Unknown Object (File)
Thu, Oct 30, 6:02 AM
Unknown Object (File)
Oct 28 2025, 8:59 PM
Unknown Object (File)
Oct 25 2025, 3:20 PM
Unknown Object (File)
Oct 16 2025, 9:33 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54939
Build 51828: arc lint + arc unit

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.