-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Environment: Ubuntu 24.04, uutils main branch (git commit 3971bb3), GNU coreutils v9.6.38-2b088-modified
Steps to reproduce:
echo f > f
echo g > g
cp -i --update=none f g
What happens now: uutils cp prompts the user with
cp: overwrite 'g'?
even though the file is not copied regardless of the answer.
What I expected to happen: GNU cp does not print any prompt and no changes are made to the files.
Notes: this is causing a failure in GNU test file tests/cp/cp-i.sh.