-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Absolute path in target of symlink directory, problem with -e and -d file tests #20533
Comments
Seems like |
|
It looks like the wrong type of symlink is being created. |
@tonycoz Yes that could be the problem! Let me know if I should do any more testing |
I have built a debug version of perl 5.37.6 on Windows 11 using MinGW-w64 and gcc 11.3.0 from https://winlibs.com/ (using the MSVCRT runtime library). Note that this includes #20271, which fixes the readlink behavior on Windows, see #20460 for more information.
When trying to install
Path::Tinyusing this perl I get a test failure due to-doperator not working on a symlink directory (note: this is a directory, not a file as in #20506). Here is a minimal example:The output is:
Expected output:
The same problem occurs for the
-eoperator. If the symlink target is a relative path (not absolute) both-eand-dworks fine.Perl configuration
The text was updated successfully, but these errors were encountered: