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

Run test_chmod in nodefs. NFC #23230

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hoodmane
Copy link
Collaborator

Catches a bug in lchmod in NODEFS. The fix will be quite simple after #23058 is merged.

test/test_core.py Outdated Show resolved Hide resolved
@@ -137,6 +137,9 @@ void test() {
lstat("file-link", &s);
assert(s.st_mode == link_mode);

// TODO: lchmod is not supported in NODEFS but it chmods the link target
// instead of raising an error. Will fix in a follow up to #23058.
#ifndef NODEFS
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove indentation for preprocessor directives.

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm % comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants