-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Merge test_fs_open_no_permissions with test_fcntl_open. NFC #23231
base: main
Are you sure you want to change the base?
Merge test_fs_open_no_permissions with test_fcntl_open. NFC #23231
Conversation
087129c
to
27b88f4
Compare
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.
great!
Co-authored-by: Derek Schuff <[email protected]>
assert(res >= 0); | ||
struct stat st; | ||
assert(stat("a", &st) == 0); | ||
assert((st.st_mode & 0777) == 0); |
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.
Is this the line that fails on windows? Perhaps we could make it more flexible?
As it stands if we add @no_windows
the whole test will no longer run on windows. Alternatively you could do this:
if self.getsetting('NODERAWFS') and WINDOWS:
self.skipTest(...)
That way only that particular variant will be skipped.
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.
Yeah, that's the one: See https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket/8728106183896305361/+/u/Emscripten_testsuite__core0_/stdout (line 19 of the original)
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.
But it also fails on nodefs, not just on noderawfs.
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.
We have a bunch of test that have something like if nodefs and WINDOWS: skip
.. so we can do that here to maybe?
No description provided.