You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create two regular files, README.md and good/README.md, and an initially-empty directory tmp/.
Inside tmp, create an empty regular file foo, and a symlink README.md that points to foo.
Try to copy README.md and good/README.md to tmp/
Expected result: README.md is copied to tmp/ into the file foo, and the second attempt is aborted, leading to an error message and a non-zero (failure) exit code.
Actual result: README.md is copied to tmp/ into the file foo, and the second attempt is successful, leading to foo containing the contents of the second file, no error message, and a zero (success) exit code.
Steps to reproduce:
README.md
andgood/README.md
, and an initially-empty directorytmp/
.tmp
, create an empty regular filefoo
, and a symlinkREADME.md
that points tofoo
.README.md
andgood/README.md
totmp/
Expected result:
README.md
is copied totmp/
into the filefoo
, and the second attempt is aborted, leading to an error message and a non-zero (failure) exit code.Actual result:
README.md
is copied totmp/
into the filefoo
, and the second attempt is successful, leading tofoo
containing the contents of the second file, no error message, and a zero (success) exit code.Demonstrator:
Found while reviewing #6208
The text was updated successfully, but these errors were encountered: