coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

cp: show no "same file" error for `--link a a`

Open cakebaker opened this issue 1 year ago • 1 comments

When running cp --link a a, GNU cp doesn't do anything whereas uutils cp shows a "same file" error. This PR adapts the behavior of uutils cp to match the one of GNU cp.

cakebaker avatar Jan 01 '24 13:01 cakebaker

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar Jan 01 '24 14:01 github-actions[bot]