coreutils/tests
Jeffrey Finkelstein ac3fcca6c0 cp: correctly copy ancestor dirs in --parents mode
Fix a bug where `cp` failed to copy ancestor directories when using
the `--parents` option. For example, before this commit:

    $ mkdir -p a/b/c d
    $ cp --parents a/b/c d
    $ find d
    d
    d/c

After this commit

    $ mkdir -p a/b/c d
    $ cp --parents a/b/c d
    $ find d
    d
    d/a
    d/a/b
    d/a/b/c

This commit also adds the correct messages for `--verbose` mode:

    $ cp -r --parents --verbose a/b/c d
    a -> d/a
    a/b -> d/a/b
    'a/b/c' -> 'd/a/b/c'

Fixes #3332.
2022-10-23 00:06:56 -04:00
..
benches/factor all: remove explicit imports of TryFrom and TryInto 2022-04-05 10:39:31 +02:00
by-util cp: correctly copy ancestor dirs in --parents mode 2022-10-23 00:06:56 -04:00
common tests: update to clap 4 2022-10-13 17:50:43 +02:00
fixtures Match GNU semantics for missing EOF 2022-10-07 17:50:26 -04:00
test_util_name.rs tests: update to clap 4 2022-10-13 17:50:43 +02:00
tests.rs tests: do not generate module structure in build.rs 2022-10-05 13:30:22 +02:00