1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-14 17:21:04 +00:00
uutils-coreutils/tests
Jeffrey Finkelstein 66ee373373 cp: preserve hard links when target already exists
Prevent a panic in `cp -a` when the target of a hard link already
exists in the target directory structure.

For example,

    $ mkdir -p src dest/src
    $ touch src/f dest/src/f
    $ ln src/f src/link
    $ cp -a src dest

The `cp` command now succeeds without error.
2022-12-02 23:50:18 -05:00
..
benches/factor all: remove explicit imports of TryFrom and TryInto 2022-04-05 10:39:31 +02:00
by-util cp: preserve hard links when target already exists 2022-12-02 23:50:18 -05:00
common cp: preserve hard links when target already exists 2022-12-02 23:50:18 -05:00
fixtures Match GNU semantics for missing EOF 2022-10-07 17:50:26 -04:00
test_util_name.rs chore: run cargo +nightly clippy --fix 2022-11-16 11:09:44 +02:00
tests.rs tests: do not generate module structure in build.rs 2022-10-05 13:30:22 +02:00