| 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 ...
|
| ac56b9d8 | 14-Dec-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
cp: Split the basic_symlink test case in two.
This test case tests two different things: first, that copying a symlink results in a file with the same contents as the target of the symlink, rather t
cp: Split the basic_symlink test case in two.
This test case tests two different things: first, that copying a symlink results in a file with the same contents as the target of the symlink, rather than a second symlink, and second, that cp will refuse to copy a file to itself, or to a link to itself, or a link to its target. Leave the first part in basic_symlink, move the second part to a new test case named samefile, and slightly expand both cases.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D43062
show more ...
|