-
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
Run test_chmod in nodefs. NFC #23230
base: main
Are you sure you want to change the base?
Conversation
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.
lgtm % comment
@@ -5525,9 +5525,10 @@ def test_fstatat(self): | |||
@crossplatform | |||
@with_all_fs | |||
def test_stat_chmod(self): | |||
if self.get_setting('NODERAWFS') and WINDOWS: | |||
nodefs = '-DNODEFS' in self.emcc_args or '-DNODERAWFS' in self.emcc_args | |||
if nodefs and WINDOWS: |
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.
It looks like we use to run this test with -DNODEFS
on windows, but not after this change?
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.
Ooops, sorry I just saw that this change includes a change to the test (which presumably makes it no longer compatible with windows+nodefs). lgtm.
Catches a bug in
lchmod
in NODEFS. The fix will be quite simple after #23058 is merged.