File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1010 uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1111 with :
1212 linux_exclude_swift_versions : ' [{"swift_version": "5.8"}]'
13- # https://github.com/apple/swift-system/issues/223
14- enable_windows_checks : false
1513 soundness :
1614 name : Soundness
1715 uses : swiftlang/github-workflows/.github/workflows/soundness.yml@main
Original file line number Diff line number Diff line change @@ -174,6 +174,9 @@ final class FileOperationsTestWindows: XCTestCase {
174174
175175 /// Test that the umask works properly
176176 func testUmask( ) throws {
177+ // See https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/persistent-storage#permissions
178+ try XCTSkipIf ( NSUserName ( ) == " ContainerAdministrator " , " containers use a different permission model " )
179+
177180 // Default mask should be 0o022
178181 XCTAssertEqual ( FilePermissions . creationMask, [ . groupWrite, . otherWrite] )
179182
@@ -205,6 +208,9 @@ final class FileOperationsTestWindows: XCTestCase {
205208
206209 /// Test that setting permissions on a file works as expected
207210 func testPermissions( ) throws {
211+ // See https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/persistent-storage#permissions
212+ try XCTSkipIf ( NSUserName ( ) == " ContainerAdministrator " , " containers use a different permission model " )
213+
208214 try FilePermissions . withCreationMask ( [ ] ) {
209215 try withTemporaryFilePath ( basename: " testPermissions " ) { path in
210216 let tests = [
You can’t perform that action at this time.
0 commit comments