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, Mar 16, 3:17 PM
Unknown Object (File)
Fri, Mar 14, 6:06 PM
Unknown Object (File)
Sun, Mar 9, 10:05 AM
Unknown Object (File)
Feb 5 2025, 1:55 PM
Unknown Object (File)
Feb 4 2025, 9:21 PM
Unknown Object (File)
Feb 3 2025, 2:11 PM
Unknown Object (File)
Jan 28 2025, 2:56 AM
Unknown Object (File)
Jan 27 2025, 4:47 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.