Skip to content

Implement setAttributesOfItemAtPath for NSFilePosixPermissions attribute #243

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

Merged
merged 2 commits into from
Mar 1, 2016
Merged

Implement setAttributesOfItemAtPath for NSFilePosixPermissions attribute #243

merged 2 commits into from
Mar 1, 2016

Conversation

drewcrawford
Copy link
Contributor

Add test coverage

@@ -137,6 +138,26 @@ class TestNSFileManger : XCTestCase {
}
}

func test_setFileAttributes() {
let path = "/tmp/testfile"
Copy link
Contributor

Choose a reason for hiding this comment

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

we might not want to use this since it would potentially conflict with other tests running on CI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I stole this from the get test that was already there.

Can you recommend another design, and I can fix both of them?

Copy link
Contributor

Choose a reason for hiding this comment

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

using some sort of unique identifier per-run would be nice to have as a common accessor pattern. perhaps /tmp/<some name identifying the test><uuid> might be good as a pattern

@phausler
Copy link
Contributor

phausler commented Feb 3, 2016

@swift-ci Please test

phausler added a commit that referenced this pull request Mar 1, 2016
Implement setAttributesOfItemAtPath for NSFilePosixPermissions attribute
@phausler phausler merged commit a4ee50c into swiftlang:master Mar 1, 2016
atrick pushed a commit to atrick/swift-corelibs-foundation that referenced this pull request Jan 12, 2021
Disable diagnostics for blacklisted document schemes
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