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)
Nov 26 2024, 5:49 PM
Unknown Object (File)
Nov 16 2024, 4:00 AM
Unknown Object (File)
Nov 16 2024, 3:46 AM
Unknown Object (File)
Nov 16 2024, 1:58 AM
Unknown Object (File)
Nov 14 2024, 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
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.