Copying over a symlink clobbers the symlink instead of its target on Windows #43376
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
library-io
vm-regression
Steps to reproduce:
Expected result:
Expected output is:
which indicates that the copied file overwrites the symlink target instead of the symlink itself.
Actual result:
With
Dart SDK version: 2.10.0-7.3.beta (beta) (Wed Aug 26 09:46:50 2020 +0200) on "windows_x64"
, I get:The copied file overwrote the symlink itself, not the symlink's target.
Additional details:
Dart SDK version: 2.9.3 (stable) (Tue Sep 8 11:21:00 2020 +0200) on "windows_x64"
, so this is a regression.copySync
's destination includes an explicit directory. That is, I get the expected behavior if I usef.copySync('symlink');
instead off.copySync('.\\symlink')
.This has been causing CI failures for
package:file
'sLocalFileSystem
tests on Windows.The text was updated successfully, but these errors were encountered: