| 89990e28 | 09-Jul-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
cp: Add descriptions to all test cases.
While here, touch a few test cases up.
Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D51124 |
| 2d6b33f8 | 09-Jul-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
cp: Add an option to visit sources in order.
This adds a --sort option which makes cp pass a comparison function to FTS, ensuring that sources are visited and traversed in a predictable order. This
cp: Add an option to visit sources in order.
This adds a --sort option which makes cp pass a comparison function to FTS, ensuring that sources are visited and traversed in a predictable order. This will help make certain test cases more reliable.
Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D51214
show more ...
|
| 48578dcb | 10-May-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
cp: Fix issues with destination directory mode.
Ensure that we are able to enter the destination directory after we create it, even if the current umask would normally prevent it, and that it has th
cp: Fix issues with destination directory mode.
Ensure that we are able to enter the destination directory after we create it, even if the current umask would normally prevent it, and that it has the expected permissions once we are done, even if we had to tweak them to be able to enter it.
Fixes: 82fc0d09e862 Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D50266
show more ...
|
| be783915 | 10-May-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
cp: Fix dead link case.
The test case was a) not doing what I intended it to do and b) missing a third possible configuration. Fix the test case, and fix the code by not setting the beneath flag (w
cp: Fix dead link case.
The test case was a) not doing what I intended it to do and b) missing a third possible configuration. Fix the test case, and fix the code by not setting the beneath flag (which restricts operations to the destination tree) unless we are recursing.
Fixes: 82fc0d09e862 Sponsored by: Klara, Inc. Reviewed by: allanjude, markj Differential Revision: https://reviews.freebsd.org/D50257
show more ...
|