-
Notifications
You must be signed in to change notification settings - Fork 5.3k
#52851 Enable/ Skip test case on MacCatalyst #74070
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
Conversation
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue Detailsnull
|
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| } | ||
|
|
||
| // On OSX, the temp directory /tmp/ is a symlink to /private/tmp, so setting the current | ||
| // On OSX/MacCatalyst, the temp directory /tmp/ is a symlink to /private/tmp, so setting the current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can /tmp be a symlink on other OSes too? Would it be better for the test to check whether /tmp is a symlink and skip the validation as appropriate? It would save us from disabling the test one OS at a time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds better approach but I couldn't find how to check whether /tmp is a symlink.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds better approach but I couldn't find how to check whether /tmp is a symlink.
Console.WriteLine(((File.GetAttributes("/tmp") & FileAttributes.ReparsePoint) != 0) ? "Symlink" : "Not a symlink");
|
Tagging subscribers to this area: @cston Issue Detailsnull
|
|
Failures are unrelated. |
Fixes #52851