HomeFreeBSD

cp: Improve to_root test case.

Description

cp: Improve to_root test case.

Since the bug we're testing involved path name construction, we don't
need to be root to test it; we can simply check the error message.

Fixes: 537fbf70f12b
Sponsored by: Klara, Inc.
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D50628

Details

Provenance
desAuthored on May 31 2025, 6:07 PM
Reviewer
allanjude
Differential Revision
D50628: cp: Improve to_root test case.
Parents
rG6d3d1fc3a304: netcat: Allow service names to be used.
Branches
Unknown
Tags
Unknown