Skip to content
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

Assert that we don't get the value we don't want instead of attempting to check for a specific error code. Fixes #39955 #40019

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

kg
Copy link
Member

@kg kg commented Jul 28, 2020

errno values like ENOENT don't actually have reliable values cross-platform, and this test is actually making sure that PAL error codes don't show up where native error codes are meant to be, so just check for the PAL error code instead.

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@kg kg added the arch-wasm WebAssembly architecture label Jul 28, 2020
Copy link
Contributor

@kjpou1 kjpou1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@kg kg merged commit 7ffdb13 into dotnet:master Jul 29, 2020
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.IO
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants